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 bu...@apache.org on 2012/10/02 17:33:15 UTC
[Bug 53955] New: NullPointerException if a docbook anchor element is
inside an emphasis element
https://issues.apache.org/bugzilla/show_bug.cgi?id=53955
Priority: P2
Bug ID: 53955
Assignee: fop-dev@xmlgraphics.apache.org
Summary: NullPointerException if a docbook anchor element is
inside an emphasis element
Severity: normal
Classification: Unclassified
OS: Linux
Reporter: mathieu.malaterre@gmail.com
Hardware: PC
Status: NEW
Version: 1.0
Component: pdf
Product: Fop
Created attachment 29436
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29436&action=edit
input docbook
I encounter a java.lang.NullPointerException with fop 1:1.0.dfsg2-6
when processing a valid docbook 4.5 file. If an anchor is placed inside an
emphasis element, the produced .fo file will make fop crash.
I attach some sample files showing the problem.
The steps to reproduce the bug are the following:
vincent@hal:~$ /usr/bin/xmllint --postvalid --noout --nonet fop.segv.xml
vincent@hal:~$ echo $?
0
vincent@hal:~$ /usr/bin/xsltproc --stringparam use.extensions 1 --stringparam
fop1.extensions 1 --stringparam tablecolumns.extension 0 --stringparam
callouts.extension 0 -o /home/vincent/fop.segv.fo
/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl
/home/vincent/fop.segv.xml
Making portrait pages on USletter paper (8.5inx11in)
vincent@hal:~$ /usr/bin/fop -c /home/vincent/fop.xconf -fo
/home/vincent/fop.segv.fo -pdf /home/vincent/fop.segv.pdf
[warning] /usr/bin/fop: Unable to locate servlet-api in /usr/share/java
Image not found. URI: images/draft.png. (See position 2:9549)
Image not found. URI: images/draft.png. (See position 2:10207)
Image not found. URI: images/draft.png. (See position 2:10863)
Image not found. URI: images/draft.png. (See position 2:11516)
Image not found. URI: images/draft.png. (See position 2:12166)
Image not found. URI: images/draft.png. (See position 2:12816)
Image not found. URI: images/draft.png. (See position 2:13463)
Image not found. URI: images/draft.png. (See position 2:14115)
Image not found. URI: images/draft.png. (See position 2:14767)
Image not found. URI: images/draft.png. (See position 2:15416)
Image not found. URI: images/draft.png. (See position 2:16067)
Image not found. URI: images/draft.png. (See position 2:16718)
Image not found. URI: images/draft.png. (See position 2:17366)
Image not found. URI: images/draft.png. (See position 2:18017)
Image not found. URI: images/draft.png. (See position 2:18668)
Image not found. URI: images/draft.png. (See position 2:19316)
Image not found. URI: images/draft.png. (See position 2:19968)
Image not found. URI: images/draft.png. (See position 2:20620)
Image not found. URI: images/draft.png. (See position 2:21269)
Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
Font "ZapfDingbats,normal,700" not found. Substituting with
"ZapfDingbats,normal,400".
Exception
java.lang.NullPointerException
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53955] NullPointerException if a docbook anchor element is
inside an emphasis element
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53955
--- Comment #2 from Mathieu Malaterre <ma...@gmail.com> ---
Simplified steps:
$ xsltproc -o test.fo
/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl test.xml
$ fop fop.segv.fo bla.pdf
[...]
Exception
java.lang.NullPointerException
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53955] NullPointerException if a docbook anchor element is
inside an emphasis element
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53955
Pascal Sancho <ps...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #3 from Pascal Sancho <ps...@gmail.com> ---
Mathieu, you have reported similar issue...
*** This bug has been marked as a duplicate of bug 48765 ***
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53955] NullPointerException if a docbook anchor element is
inside an emphasis element
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53955
--- Comment #1 from Mathieu Malaterre <ma...@gmail.com> ---
Created attachment 29437
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29437&action=edit
generated fo file
--
You are receiving this mail because:
You are the assignee for the bug.