[ 
https://issues.apache.org/jira/browse/FOP-2401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bernhard Reutner-Fischer updated FOP-2401:
------------------------------------------

    Attachment: reduced.fop

Manually reduced testcase, hopefully still demonstrates the initial issue.

> NullPointerException near InlineStackingLayoutManager
> -----------------------------------------------------
>
>                 Key: FOP-2401
>                 URL: https://issues.apache.org/jira/browse/FOP-2401
>             Project: Fop
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: debian gnu/linux
> fop-1:1.0.dfsg2-6 fails; fop-1:1.1.dfsg-2 fails too;
>            Reporter: Bernhard Reutner-Fischer
>         Attachments: fop-bug.xml, fop-bug.xml.fop, fop-bug.xsl, reduced.fop
>
>
> I must be doing something wrong? :)
> $ xsltproc fop-bug.xsl fop-bug.xml | tee fop-bug.xml.fop | fop -d - ok.pdf
> []
> getNextSimplePageMaster(page=3 isOdd=true isFirst=true isLast=false 
> isBlank=false)
> [3]
> PLM> flow BPD =697889
> start of the next element list is: page=3 col=0
> Exception
> org.apache.fop.apps.FOPException
> java.lang.NullPointerException
>       at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:302)
>       at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
>       at org.apache.fop.cli.Main.startFOP(Main.java:174)
>       at org.apache.fop.cli.Main.main(Main.java:205)
> Caused by: java.lang.NullPointerException
>       at 
> org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getChangedKnuthElements(InlineStackingLayoutManager.java:376)
>       at 
> org.apache.fop.layoutmgr.inline.InlineLayoutManager.getChangedKnuthElements(InlineLayoutManager.java:537)
>       at 
> org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getChangedKnuthElements(InlineStackingLayoutManager.java:381)
>       at 
> org.apache.fop.layoutmgr.inline.InlineLayoutManager.getChangedKnuthElements(InlineLayoutManager.java:537)
>       at 
> org.apache.fop.layoutmgr.inline.LineLayoutManager.processUpdates(LineLayoutManager.java:1349)
> []



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to