Created attachment 28883 [details] This FO generates the UnsupportedOperationException In discussion with Pascal, regarding the generation of "java.lang.UnsupportedOperationException: Don't know how to restart at positionNonLeafPos". He generated the accompaning test FOs which highlight the issue.
Created attachment 28884 [details] This FO produces the expected pdf
Created attachment 28886 [details] minimal failing test case This discussion started on FOP-list (see thread [1]) [1] http://old.nabble.com/generating-pdf-fails-depending-on-page-layout-order-td33942462.html