poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45877] Null base style for paragraph results in crash
Date Sun, 02 Aug 2009 19:07:19 GMT

--- Comment #2 from Andrew Duffy <aduffy@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

View raw message