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 2021/04/20 12:21:11 UTC
[Bug 65255] New: java.lang.NullPointerException: Attempt to invoke
interface method 'org.w3c.dom.Node org.w3c.dom.Node.removeChild
https://bz.apache.org/bugzilla/show_bug.cgi?id=65255
Bug ID: 65255
Summary: java.lang.NullPointerException: Attempt to invoke
interface method 'org.w3c.dom.Node
org.w3c.dom.Node.removeChild
Product: POI
Version: 5.0.0-FINAL
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HWPF
Assignee: dev@poi.apache.org
Reporter: softboy99@163.com
Target Milestone: ---
Created attachment 37818
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37818&action=edit
sample doc file for converting to html
java.lang.NullPointerException: Attempt to invoke interface method
'org.w3c.dom.Node org.w3c.dom.Node.removeChild(org.w3c.dom.Node)' on a null
object reference
at
org.apache.poi.hwpf.converter.AbstractWordUtils.compactChildNodesR(AbstractWordUtils.java:145)
W/System.err: at
org.apache.poi.hwpf.converter.WordToHtmlUtils.compactSpans(WordToHtmlUtils.java:238)
at
org.apache.poi.hwpf.converter.WordToHtmlConverter.processParagraph(WordToHtmlConverter.java:590)
at
org.apache.poi.hwpf.converter.AbstractWordConverter.processParagraphes(AbstractWordConverter.java:1109)
at
org.apache.poi.hwpf.converter.WordToHtmlConverter.processTable(WordToHtmlConverter.java:690)
at
org.apache.poi.hwpf.converter.AbstractWordConverter.processParagraphes(AbstractWordConverter.java:1071)
W/System.err: at
org.apache.poi.hwpf.converter.WordToHtmlConverter.processSingleSection(WordToHtmlConverter.java:611)
--
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 65255] java.lang.NullPointerException: Attempt to invoke
interface method 'org.w3c.dom.Node org.w3c.dom.Node.removeChild
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65255
softboy99@163.com <so...@163.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--
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 65255] java.lang.NullPointerException: Attempt to invoke
interface method 'org.w3c.dom.Node org.w3c.dom.Node.removeChild
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65255
PJ Fanning <fa...@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
I added a test with r1894363 - but it passes - so this does not seem to be an
issue in the trunk code, at least
--
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