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

org.apache.fop.render.rtf.RTFHandler.startPageSequence(RTFHandler.java:221)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      I cannot build an rtf file from a fo. It keep on failing with:

      java.lang.NullPointerException
      at org.apache.fop.render.rtf.RTFHandler.startPageSequence(RTFHandler.java:221)
      at org.apache.fop.fo.pagination.PageSequence.startOfNode(PageSequence.java:119)
      at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:325)
      at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:175)
      at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1073)
      at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
      at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:300)
      at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
      at org.apache.fop.cli.Main.startFOP(Main.java:177)
      at org.apache.fop.cli.Main.main(Main.java:208)

      Attachments

        1. demo.fo
          25 kB
          Mathieu Malaterre

        Activity

          People

            Unassigned Unassigned
            malaterre Mathieu Malaterre
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: