https://bz.apache.org/bugzilla/show_bug.cgi?id=64348
Sayi <adasa...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS| |All --- Comment #1 from Sayi <adasa...@gmail.com> --- (In reply to xiaoting233zhang from comment #0) > Caused by: java.lang.IndexOutOfBoundsException > ┣ at > org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTBodyImpl. > getPArray(Unknown Source:26) > ┣ at > org.apache.poi.xwpf.model.XWPFHeaderFooterPolicy. > getWatermarkParagraph(XWPFHeaderFooterPolicy.java:432) > ┣ at > org.apache.poi.xwpf.model.XWPFHeaderFooterPolicy. > createWatermark(XWPFHeaderFooterPolicy.java:418) > > This happens when the document has nothing. Hi, this problem caused by missing paragraph. Currently you can first create a paragraph to avoid this problem. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org