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

Bernhard Reutner-Fischer commented on FOP-2401:
-----------------------------------------------

               <fo:list-item-label end-indent="label-end()" text-align="start">
                 <fo:block>
-                  <fo:inline><fo:inline id="chapter.config-plugin1"/>Plugin 
1</fo:inline>
+                  <fo:inline>Plugin 1</fo:inline>
                 </fo:block>
               </fo:list-item-label>

makes it render correctly.

I.e. in my source i have to remove (or shuffle around) the anchors in e.g.:
<term><anchor xml:id="chapter.config-plugin1"/>Plugin 1</term>

> 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