https://issues.apache.org/bugzilla/show_bug.cgi?id=50985

--- Comment #8 from coolki...@hotmail.com 2011-04-03 12:11:49 EDT ---
(In reply to comment #7)
> If you feel like playing with the test case... :-) It could be as easy as just
> adding 2 lines before and after the empty block. Widows/orphans will only 
> apply
> to those first and last lines, giving the algorithm a chance to break.

Yes, it broke as soon I added an extra line before or after Page 2, and both
cases gave the following error:

java.lang.UnsupportedOperationException: Don't know how to restart at
positionnull
        at
org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockListChangedIPD(AbstractBreaker.java:754)
        at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:428)
        at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:90)
        at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:107)
        at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:244)
        at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:120)
        at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:349)
        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177)

I will upload the updated test case which brings about this 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.

Reply via email to