https://issues.apache.org/bugzilla/show_bug.cgi?id=50574
--- Comment #1 from Andreas L. Delmelle <[email protected]> 2011-02-11 11:37:24 EST --- The difference is that 0.95 did not yet support alternating page-ipd. In this scenario it did not show, since the narrower pages were empty. For future reference, from a technical perspective the issue is the double restart that is triggered without content in between (actually: restart - overflow - restart). The first restart works like a charm, and kicks off from a SpaceHandlingBreakPosition as expected, but the overflow triggered by the second (empty) page, leaves us with no active node. Hence, NPE in PageBreakingAlgorithm.filterActiveNodes(). Adding the proposed fix for bug 49835, the NPE is avoided, but in that case, it becomes apparent that the SpaceHandlingBreakPosition is consumed, and the new blockList after the second restart, starts with a TableContentPosition, from which no restart is possible... In addition to the fix for bug 49835, my first idea would be to: - store the last restart point in AbstractBreaker as a member - in case a restart is not triggered from a SpaceHandlingBreakPosition, and that position immediately follows the previous restart point, restart from the stored one, as that is an indication there was not enough room to fit any content on the next page(s). Still left to verify whether this approach could resolve the issue. Stay tuned... -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
