You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Radu Coravu (JIRA)" <ji...@apache.org> on 2017/06/21 07:20:00 UTC

[jira] [Updated] (FOP-2119) FOP throws NPE if a foot-note is declared within a static-region

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

Radu Coravu updated FOP-2119:
-----------------------------
    Attachment: footnoteInsideRotatedBlockContainer.fo

> FOP throws NPE if a foot-note is declared within a static-region
> ----------------------------------------------------------------
>
>                 Key: FOP-2119
>                 URL: https://issues.apache.org/jira/browse/FOP-2119
>             Project: FOP
>          Issue Type: Bug
>          Components: renderer/pdf
>    Affects Versions: 1.0
>         Environment: Operating System: Linux
> Platform: PC
>            Reporter: Mathieu Malaterre
>         Attachments: footnoteInsideRotatedBlockContainer.fo, _test.fo, t.fo
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)