Bug 19228 - [PATCH] Child LayoutContext is null in certain circumstances
Summary: [PATCH] Child LayoutContext is null in certain circumstances
Status: NEW
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: page-master/layout (show other bugs)
Version: trunk
Hardware: Macintosh All
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-22 19:42 UTC by John Kemp
Modified: 2012-04-11 03:21 UTC (History)
0 users



Attachments
A patch that fixes the issue (1.52 KB, patch)
2003-04-22 19:43 UTC, John Kemp
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Kemp 2003-04-22 19:42:03 UTC
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 :)
Comment 1 John Kemp 2003-04-22 19:43:18 UTC
Created attachment 5961 [details]
A patch that fixes the issue
Comment 2 Glenn Adams 2012-03-30 20:35:19 UTC
move to normal priority, pending further action
Comment 3 Glenn Adams 2012-04-11 03:21:41 UTC
increase priority for bugs with a patch