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 2009/08/02 21:07:19 UTC

DO NOT REPLY [Bug 45877] Null base style for paragraph results in crash

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





--- Comment #2 from Andrew Duffy <ad...@simiolus.com>  2009-08-02 12:07:16 PST ---
Created an attachment (id=24082)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24082)
Patches PAPX.java to avoid NPE when a paragraph's PAPX is based upon a
character style

I've encountered this error while decoding .doc files saved by OpenOffice
Writer. Some paragraphs have a PAPX with an istd that is a character style, and
PAPX.getParagraphProperties throws an NPE as a result.

I've attached a patch to PAPX.java to work around this. I don't think Chris
Walter's patch to StyleSheet.java is necessary.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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