https://bz.apache.org/bugzilla/show_bug.cgi?id=66187
--- Comment #1 from [email protected] --- public static void main(String[] args) throws Exception { String template = XwpfUtils.class.getResource("/template-word/template.docx").getFile(); try (FileInputStream argIS = new FileInputStream(template)) { try (XWPFDocument doc = new XWPFDocument(argIS)) { XWPFRun run = doc.getParagraphs().get(0).getRuns().get(0); //TODO bug run.getTextHightlightColor(); //or run.getEmphasisMark() also causes the same error try (OutputStream out = new FileOutputStream("output.docx")) { doc.write(out); } } } } -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
