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

FOP throws NPE if a foot-note is declared within a static-region

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Resolution: Unresolved
    • 1.0
    • None
    • renderer/pdf
    • None
    • Operating System: Linux
      Platform: PC
    • 53817

    Description

      Hi,

      I cannot process the following dobbook slides:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE slides PUBLIC "-//Norman Walsh//DTD Slides XML V3.4.0//EN" "http://docbook.sourceforge.net/release/slides/3.4.0/schema/dtd/slides-full.dtd">
      <slides>
      <foil>
      <title>My Title<footnote><para><ulink url="http://www.example.com/"/></para></footnote></title>
      <para/>
      </foil>
      </slides>

      it keeps on failing with:

      $ xsltproc -o t.fo /usr/share/xml/docbook/custom/slides/3.4.0/xsl/fo/plain.xsl s.xml
      $ fop t.fo t.pdf
      Image not found. URI: images/draft.png. (See position 2:9711)
      Image not found. URI: images/draft.png. (See position 2:10376)
      Image not found. URI: images/draft.png. (See position 2:11039)
      Image not found. URI: images/draft.png. (See position 2:11699)
      Image not found. URI: images/draft.png. (See position 2:12356)
      Image not found. URI: images/draft.png. (See position 2:13013)
      Image not found. URI: images/draft.png. (See position 2:13667)
      Image not found. URI: images/draft.png. (See position 2:14326)
      Image not found. URI: images/draft.png. (See position 2:14985)
      Image not found. URI: images/draft.png. (See position 2:15641)
      Image not found. URI: images/draft.png. (See position 2:16299)
      Image not found. URI: images/draft.png. (See position 2:16957)
      Image not found. URI: images/draft.png. (See position 2:17612)
      Image not found. URI: images/draft.png. (See position 2:18270)
      Image not found. URI: images/draft.png. (See position 2:18928)
      Image not found. URI: images/draft.png. (See position 2:19583)
      Image not found. URI: images/draft.png. (See position 2:20242)
      Image not found. URI: images/draft.png. (See position 2:20901)
      Image not found. URI: images/draft.png. (See position 2:21557)
      Exception
      java.lang.NullPointerException

      Attachments

        1. _test.fo
          0.8 kB
          Pascal Sancho
        2. footnoteInsideRotatedBlockContainer.fo
          18 kB
          Radu Coravu
        3. t.fo
          35 kB
          Mathieu Malaterre

        Activity

          People

            Unassigned Unassigned
            mathieu.malaterre@gmail.com Mathieu Malaterre
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: