Your message dated Thu, 18 Feb 2010 22:04:20 +0000
with message-id <e1niets-0003vi...@ries.debian.org>
and subject line Bug#570095: fixed in fop 1:0.95.dfsg-8
has caused the Debian Bug report #570095,
regarding java.lang.NullPointerException: at
org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
570095: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570095
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: fop
Version: 1:0.95.dfsg-7
Severity: important
fop currently segfault on a very simple docbook file:
consider the following test.xml file:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" []>
<article>
<section>
<title>title</title>
<para>
<anchor id="myidx" xreflabel="mylabel"/>
</para>
</section>
</article>
Now run:
$ xsltproc --stringparam fop1.extensions 1 --stringparam ulink.show 0
--xinclude -o out.fo
/usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl ./test.xml
$ fop -fo out.fo -pdf out.pdf
You should get:
[warning] /usr/bin/fop: Unable to locate xml-apis in /usr/share/java
Feb 16, 2010 2:17:27 PM org.apache.fop.fonts.FontInfo notifyFontReplacement
WARNING: Font 'Symbol,normal,700' not found. Substituting with
'Symbol,normal,400'.
Feb 16, 2010 2:17:27 PM org.apache.fop.fonts.FontInfo notifyFontReplacement
WARNING: Font 'ZapfDingbats,normal,700' not found. Substituting with
'ZapfDingbats,normal,400'.
Feb 16, 2010 2:17:27 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.lang.NullPointerException
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
at org.apache.fop.cli.Main.startFOP(Main.java:166)
at org.apache.fop.cli.Main.main(Main.java:197)
---------
java.lang.NullPointerException
at
org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)
at
org.apache.fop.layoutmgr.inline.LineLayoutManager.findHyphenationPoints(LineLayoutManager.java:1480)
at
org.apache.fop.layoutmgr.inline.LineLayoutManager.findOptimalBreakingPoints(LineLayoutManager.java:950)
at
org.apache.fop.layoutmgr.inline.LineLayoutManager.createLineBreaks(LineLayoutManager.java:917)
at
org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElements(LineLayoutManager.java:607)
at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:294)
at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:116)
at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:294)
at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:116)
at
org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:107)
at
org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:145)
at
org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:552)
at
org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:137)
at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:302)
at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:264)
at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:106)
at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:234)
at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:123)
at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:340)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:169)
at
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(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:214)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
at org.apache.fop.cli.Main.startFOP(Main.java:166)
at org.apache.fop.cli.Main.main(Main.java:197)
Thanks
-- System Information:
Debian Release: 5.0.4
APT prefers stable
APT policy: (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages fop depends on:
ii default-jre [java2-runti 1.5-30 Standard Java or Java compatible R
ii default-jre-headless 1.5-30 Standard Java or Java compatible R
ii gcj-4.4-jre [java2-runti 4.4.2-4 Java runtime environment using GIJ
ii gcj-jre [java2-runtime] 4:4.3.4-1 Java runtime environment using GIJ
ii java-gcj-compat [java2-r 1.0.80-5.1 Java runtime environment using GIJ
ii java-wrappers 0.1.15 wrappers for java executables
ii libavalon-framework-java 4.2.0-4 Common framework for Java server a
ii libbatik-java 1.7-5 xml.apache.org SVG Library
ii libbsf-java 1:2.4.0-2 Bean Scripting Framework to suppor
ii libcommons-io-java 1.4-1 Common useful IO related classes
ii libcommons-logging-java 1.1.1-6 commmon wrapper interface for seve
ii libxalan2-java 2.7.1-5 XSL Transformations (XSLT) process
ii libxerces2-java 2.9.1-2+lenny1 Validating XML parser for Java wit
ii libxml-commons-external- 1.3.05-1 XML Commons external code - DOM, S
ii libxmlgraphics-commons-j 1.3.1.dfsg-4 reusable components used by Batik
ii libxp6 1:1.0.0.xsf1-2 X Printing Extension (Xprint) clie
ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library
ii libxtst6 2:1.0.3-1 X11 Testing -- Resource extension
ii openjdk-6-jre [java2-run 6b11-9.1+lenny2 OpenJDK Java runtime, using Hotspo
ii sun-java5-jre [java2-run 1.5.0-17-0.1 Sun Java(TM) Runtime Environment (
ii sun-java6-jre [java2-run 6-12-1 Sun Java(TM) Runtime Environment (
Versions of packages fop recommends:
ii libsaxon-java 1:6.5.5-5 The Saxon XSLT Processor
Versions of packages fop suggests:
ii fop-doc 1:0.95.dfsg-7 Documentation for fop
ii libservlet2.4-java 5.0.30-8 Servlet 2.4 and JSP 2.0 Java class
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: fop
Source-Version: 1:0.95.dfsg-8
We believe that the bug you reported is fixed in the latest version of
fop, which is due to be installed in the Debian FTP archive:
fop-doc_0.95.dfsg-8_all.deb
to main/f/fop/fop-doc_0.95.dfsg-8_all.deb
fop_0.95.dfsg-8.diff.gz
to main/f/fop/fop_0.95.dfsg-8.diff.gz
fop_0.95.dfsg-8.dsc
to main/f/fop/fop_0.95.dfsg-8.dsc
fop_0.95.dfsg-8_all.deb
to main/f/fop/fop_0.95.dfsg-8_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 570...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vincent Fourmond <fourm...@debian.org> (supplier of updated fop package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 18 Feb 2010 22:27:52 +0100
Source: fop
Binary: fop fop-doc
Architecture: source all
Version: 1:0.95.dfsg-8
Distribution: experimental
Urgency: low
Maintainer: Debian Java Maintainers
<pkg-java-maintain...@lists.alioth.debian.org>
Changed-By: Vincent Fourmond <fourm...@debian.org>
Description:
fop - XML to PDF Translator
fop-doc - Documentation for fop
Closes: 570095
Changes:
fop (1:0.95.dfsg-8) experimental; urgency=low
.
* Added 02_fix_segfault_with_anchors, patch courtesy of Brian M. Carlson
<sand...@crustytoothpaste.ath.cx> to stop fop from choking on
anchors. (closes: #570095)
Checksums-Sha1:
99a2988dc6c386014420c01a4c63c01a3a7ae76d 1642 fop_0.95.dfsg-8.dsc
b037c243c6398ec21f9537326b9b07f0df7cbbf4 9626 fop_0.95.dfsg-8.diff.gz
fb371f29f309f66cbda11ed905096b9f8e882db8 2084308 fop_0.95.dfsg-8_all.deb
dc4d5464fb2b681b8ac432b3ad889d12730976fd 4086542 fop-doc_0.95.dfsg-8_all.deb
Checksums-Sha256:
a63be9c3c95afa2d8939e85e6b7ecab1889aa105ce78085cf5a2ace3193aa63b 1642
fop_0.95.dfsg-8.dsc
379b52f5494f1ed8a4180de0106a80b05258152e0b2f7cdaedbdf48baf96801a 9626
fop_0.95.dfsg-8.diff.gz
229031100fa9dfb3946b0c0f1fd6594266421375659b1c4b945d7b308c32aa72 2084308
fop_0.95.dfsg-8_all.deb
df8d09342e4caa7915a0640f762779ea31dcf1233fb5a434fab595c33d03bc7f 4086542
fop-doc_0.95.dfsg-8_all.deb
Files:
d4e96fe784ac0f710cd72654b6ddd139 1642 text optional fop_0.95.dfsg-8.dsc
646839aec41c9d403f12299a0472a725 9626 text optional fop_0.95.dfsg-8.diff.gz
e68f6183dc9021cde075c04a96cf0c51 2084308 text optional fop_0.95.dfsg-8_all.deb
5b9cbb4f83e3ab85641e50457b56ae0d 4086542 doc optional
fop-doc_0.95.dfsg-8_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkt9sp4ACgkQx/UhwSKygsprJwCfYkEcRT/qdDhfMumz17+7XjGH
MAwAn0LGwZES4V1g9mT88iWlsTQb8NYM
=apqh
-----END PGP SIGNATURE-----
--- End Message ---