You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "TLX (Jira)" <ji...@apache.org> on 2021/11/29 20:49:00 UTC

[jira] [Commented] (FOP-2481) AssertionError at BalancingColumnBreakingAlgorithm.getInitialBreaks

    [ https://issues.apache.org/jira/browse/FOP-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17450714#comment-17450714 ] 

TLX commented on FOP-2481:
--------------------------

Since this is still unsolved, could anyone please give any hint how to avoid this assertion from failing when using Apache FOP as someone who doesn't know anything about this Knuth stuff? All I did was define a 2-column layout with a "span='all'" block-container in it. None of them is empty, which is different from the example file here in this ticket. I really have no idea how to work around this. My .fo data is valid in my opinion.
I don't want to turn of assertion checking for my whole application server either. The code in BalancingColumnBreakingAlgorithm.getInitialBreaks as well as the explanation by [~adelmelle] are making me suspect it wouldn't help anyway.

> AssertionError at BalancingColumnBreakingAlgorithm.getInitialBreaks
> -------------------------------------------------------------------
>
>                 Key: FOP-2481
>                 URL: https://issues.apache.org/jira/browse/FOP-2481
>             Project: FOP
>          Issue Type: Bug
>            Reporter: Simon Steiner
>            Priority: Major
>         Attachments: exception.fo
>
>
> AssertionError
> 	at org.apache.fop.layoutmgr.BalancingColumnBreakingAlgorithm.getInitialBreaks(BalancingColumnBreakingAlgorithm.java:171)
> export FOP_OPTS=-ea
> fop exception.fo out.pdf



--
This message was sent by Atlassian Jira
(v8.20.1#820001)