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 2003/04/22 21:42:04 UTC

DO NOT REPLY [Bug 19228] New: - Child LayoutContext is null in certain circumstances

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19228>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19228

Child LayoutContext is null in certain circumstances

           Summary: Child LayoutContext is null in certain circumstances
           Product: Fop
           Version: 1.0dev
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: page-master/layout
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: john.kemp@earthlink.net


So, a particular (large) fo file that I tried to convert to PDF crashed FOP. I
looked into the issue and discovered that for whatever reason, a child
LayoutContext was null, and when FOP tried to set the flags for the child
context, it would fail with a null-pointer exception. 

I fixed the issue by putting in some null-checking in the
InlineStackingLayoutManager.java file. I'm not sure if that is the correct
approach but it certainly enabled me to to produce the PDF using FOP, which is a
start :)

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org