Created attachment 32261 [details] Java code XWPFRun.getUnderline() throws NullPointerException, when missing xml attribute "w:val" in "<w:rPr><w:u w:color="000000"/></w:rPr>". I checked on 3.10-FINAL and 3.11-beta3. Docx is created on MS Word 2010 Profesional 14.0.7128.5000. Attachments: java source, docx document.
Created attachment 32262 [details] docx document
Fixed via r456572, via an additional null-check, will be included in the release after 3.11. Now the NullPointerException is gone, however the returned underlines looked like one too many, not sure why, please report a separate bug if this is an issue for you.