[ https://issues.apache.org/jira/browse/FOP-2119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16053568#comment-16053568 ]
Radu Coravu edited comment on FOP-2119 at 6/21/17 7:18 AM: ----------------------------------------------------------- +1 I seemed to encounter the same situation, indeed a better error message would be great. In my case the XSL-FO has a block container rotated 90 degrees with 'reference-orientation="90"' containing inside a table with a footnote. I will attach a sample for this. was (Author: radu_coravu): +1 I seemed to encounter the same situation, indeed a better error message would be great. > 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: _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)