You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2018/10/26 17:39:25 UTC
[Bug 62859] New: NPE when creating SDTContent
https://bz.apache.org/bugzilla/show_bug.cgi?id=62859
Bug ID: 62859
Summary: NPE when creating SDTContent
Product: POI
Version: unspecified
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: XWPF
Assignee: dev@poi.apache.org
Reporter: tallison@mitre.org
Target Milestone: ---
Иван Сорокин reported the following NPE on discuss.elastic.co. I can't quick
replicate it, but I can see how to fix it.
https://discuss.elastic.co/t/error-while-using-ingest-attachment-plugin-on-some-docs/153836/2
Caused by: java.lang.NullPointerException
> at org.apache.poi.xwpf.usermodel.XWPFSDTContent.<init>(XWPFSDTContent.java:50) ~[?:?]
> at org.apache.poi.xwpf.usermodel.XWPFSDT.<init>(XWPFSDT.java:34) ~[?:?]
> at org.apache.poi.xwpf.usermodel.XWPFParagraph.buildRunsInOrderFromXml(XWPFParagraph.java:136) ~[?:?]
> at org.apache.poi.xwpf.usermodel.XWPFParagraph.<init>(XWPFParagraph.java:63) ~[?:?]
> at org.apache.poi.xwpf.usermodel.XWPFSDTContent.<init>(XWPFSDTContent.java:63) ~[?:?]
> at org.apache.poi.xwpf.usermodel.XWPFSDT.<init>(XWPFSDT.java:39) ~[?:?]
> at org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:178) ~[?:?]
> at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:169) ~[?:?]
> at org.apache.poi.xwpf.usermodel.XWPFDocument.<init>(XWPFDocument.java:112) ~[?:?]
> at org.apache.poi.xwpf.extractor.XWPFWordExtractor.<init>(XWPFWordExtractor.java:60) ~[?:?]
Full stacktrace is here:
https://pastebin.com/CHfFMc52
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 62859] NPE when creating SDTContent
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62859
Tim Allison <ta...@mitre.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Tim Allison <ta...@mitre.org> ---
r1844920
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 62859] NPE when creating SDTContent
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62859
Tim Allison <ta...@mitre.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from Tim Allison <ta...@mitre.org> ---
_quickly_
Once local integration tests pass, I'll commit the fix.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org