Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2401

NullPointerException near InlineStackingLayoutManager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.0
    • None
    • None
    • None
    • debian gnu/linux
      fop-1:1.0.dfsg2-6 fails; fop-1:1.1.dfsg-2 fails too;

    Description

      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)
      []

      Attachments

        1. fop-bug.xml
          1 kB
          Bernhard Reutner-Fischer
        2. fop-bug.xml.fop
          96 kB
          Bernhard Reutner-Fischer
        3. fop-bug.xsl
          0.9 kB
          Bernhard Reutner-Fischer
        4. reduced.fop
          7 kB
          Bernhard Reutner-Fischer

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aldot Bernhard Reutner-Fischer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: