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/23 22:06:28 UTC
DO NOT REPLY [Bug 50593] [PATCH] Add type safety to collections in
fop.area package (e.a.)
https://issues.apache.org/bugzilla/show_bug.cgi?id=50593
Matthias Reischenbacher <ma...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #2 from Matthias Reischenbacher <ma...@gmx.at> 2011-03-23 17:06:24 EDT ---
Andreas,
this commit causes a IndexOutOfBoundsException, when there are unresolved
bookmark references:
java.lang.IndexOutOfBoundsException: Index: 0
at java.util.Collections$EmptyList.get(Collections.java:2970)
at org.apache.fop.area.BookmarkData.resolveIDRef(BookmarkData.java:225)
at org.apache.fop.area.BookmarkData.resolveIDRef(BookmarkData.java:233)
at
org.apache.fop.area.AreaTreeHandler.addOffDocumentItem(AreaTreeHandler.java:340)
at
org.apache.fop.area.AreaTreeHandler.endDocument(AreaTreeHandler.java:311)
at org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:164)
at
org.apache.xalan.transformer.TransformerIdentityImpl.endDocument(TransformerIdentityImpl.java:963)
at org.apache.xml.serializer.TreeWalker.traverse(TreeWalker.java:176)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:390)
Before your commit, a simple warning was displayed in console: "WARNUNG:
Bookmarks: Unresolved ID reference 'xyz' found."
I'm attaching a simple test case which reproduces the error.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.