git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359383
13f79535-47bb-0310-9956-
ffa450edef68
context.getTrailingSpace().addSpace(new SpaceVal(getSpaceEnd(), this));
}
- setTraits(areaCreated, !isLast(lastPos));
+ // Not sure if lastPos can legally be null or if that masks a different problem.
+ // But it seems to fix bug 38053.
+ setTraits(areaCreated, lastPos == null || !isLast(lastPos));
parentLM.addChildArea(getCurrentArea());
context.setFlags(LayoutContext.LAST_AREA, isLast);
<changes>
<release version="FOP Trunk">
+ <action context="Code" dev="MM" type="fix" fixes-bug="38053">
+ Bugfix: NullPointerException on certain fo:inline within lists.
+ </action>
<action context="Code" dev="MM" type="fix" fixes-bug="37743">
Bugfix: ClassCastException on certain fo:inline with border combinations.
</action>