You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2011/03/28 17:44:44 UTC
DO NOT REPLY [Bug 50988] New: [Patch] White-space fo character
element throws NullPointerException
https://issues.apache.org/bugzilla/show_bug.cgi?id=50988
Summary: [Patch] White-space fo character element throws
NullPointerException
Product: Fop
Version: 1.1dev
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: fo tree
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: matthias8283@gmx.at
If the first child element of a fo:block is a white-space fo character a
NullPointerException is thrown. I analyzed the code and the problem seems to be
that the currentTextNode instance variable of FObjMixed is not reset (to null
or the following sibling) after the Character object has been removed (due to
white space handling).
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 50988] [Patch] White-space fo character element
throws NullPointerException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50988
--- Comment #2 from Matthias Reischenbacher <ma...@gmx.at> 2011-03-28 11:45:29 EDT ---
Created an attachment (id=26806)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=26806)
Patch
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 50988] [Patch] White-space fo character element
throws NullPointerException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50988
Andreas L. Delmelle <ad...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Andreas L. Delmelle <ad...@apache.org> 2011-04-03 06:17:59 EDT ---
Fixed in r1088242. See: http://svn.apache.org/viewvc?rev=1088242&view=rev
Thanks for the patch!
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 50988] [Patch] White-space fo character element
throws NullPointerException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50988
Glenn Adams <gl...@skynav.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #4 from Glenn Adams <gl...@skynav.com> 2012-04-01 06:17:16 UTC ---
batch transition to closed; if someone wishes to restore one of these to
resolved in order to perform a verification step, then feel free to do so
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 50988] [Patch] White-space fo character element
throws NullPointerException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50988
--- Comment #1 from Matthias Reischenbacher <ma...@gmx.at> 2011-03-28 11:45:07 EDT ---
Created an attachment (id=26805)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=26805)
Testcase
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.