https://issues.apache.org/bugzilla/show_bug.cgi?id=52420

Yanis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Yanis <[email protected]> ---
Created attachment 31043
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31043&action=edit
With this file you can reproduce exception

With this file you can reproduce exception

11-14 13:25:53.108: WARN/System.err(8630): Caused by:
java.lang.NullPointerException
11-14 13:25:53.108: WARN/System.err(8630): at
org.apache.poi.hwpf.converter.AbstractWordUtils.compactChildNodesR(AbstractWordUtils.java:146)
11-14 13:25:53.108: WARN/System.err(8630): at
org.apache.poi.hwpf.converter.WordToHtmlUtils.compactSpans(WordToHtmlUtils.java:238)
11-14 13:25:53.108: WARN/System.err(8630): at
org.apache.poi.hwpf.converter.WordToHtmlConverter.processParagraph(WordToHtmlConverter.java:596)
11-14 13:25:53.108: WARN/System.err(8630): at
org.apache.poi.hwpf.converter.AbstractWordConverter.processParagraphes(AbstractWordConverter.java:1113)
11-14 13:25:53.108: WARN/System.err(8630): at
org.apache.poi.hwpf.converter.WordToHtmlConverter.processSingleSection(WordToHtmlConverter.java:617)
11-14 13:25:53.108: WARN/System.err(8630): at
org.apache.poi.hwpf.converter.AbstractWordConverter.processDocument(AbstractWordConverter.java:722)

this code will solve this error

<code>
if(child2.getParentNode()!=null){
                child2.getParentNode().removeChild( child2 );
                i--;
            }
</code>

but converted html not contains all data from doc file (other bug?)

-- 
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]

Reply via email to