Your message dated Sat, 06 Mar 2010 21:34:44 +0000
with message-id <[email protected]>
and subject line Bug#570095: fixed in fop 1:0.95.dfsg-10
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 [email protected]
immediately.)
--
570095: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570095
Debian Bug Tracking System
Contact [email protected] 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-10
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-10_all.deb
to main/f/fop/fop-doc_0.95.dfsg-10_all.deb
fop_0.95.dfsg-10.debian.tar.gz
to main/f/fop/fop_0.95.dfsg-10.debian.tar.gz
fop_0.95.dfsg-10.dsc
to main/f/fop/fop_0.95.dfsg-10.dsc
fop_0.95.dfsg-10_all.deb
to main/f/fop/fop_0.95.dfsg-10_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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vincent Fourmond <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 06 Mar 2010 21:02:37 +0100
Source: fop
Binary: fop fop-doc
Architecture: source all
Version: 1:0.95.dfsg-10
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers
<[email protected]>
Changed-By: Vincent Fourmond <[email protected]>
Description:
fop - XML to PDF Translator
fop-doc - Documentation for fop
Closes: 551294 570095
Changes:
fop (1:0.95.dfsg-10) unstable; urgency=low
.
* Pull in new patch from Mathieu Malaterre <[email protected]>
to really fix the segfaults with anchors (closes: #570095)
* Drop dependency on headed packages (closes: #551294)
* Refreshed old patches and switch to using the full 3.0 (quilt) power
Checksums-Sha1:
a51a65e4832b714f9c636f980b6e2fc36d3a09eb 1663 fop_0.95.dfsg-10.dsc
5d0316d65862201aee3aff4af537a036241c451b 12372 fop_0.95.dfsg-10.debian.tar.gz
fcac60c9cd5effaef1d533ef7cd9c862e0c0daff 2086382 fop_0.95.dfsg-10_all.deb
895c412510d2ac98e68a35f7007c3d3565909a20 4086226 fop-doc_0.95.dfsg-10_all.deb
Checksums-Sha256:
d46304894717caf721877d96300ace446cb6907fe19cbdf6f5ca9fb67fe31013 1663
fop_0.95.dfsg-10.dsc
b4800291ada693015dfd965820d3828cdfc8cc9c36fb4149f8672c6c35e0fbe6 12372
fop_0.95.dfsg-10.debian.tar.gz
cad0306fe9ec0f7346b759b1e9b42924e9072afd171259462d336a81ce18a2bb 2086382
fop_0.95.dfsg-10_all.deb
013deb4fbb8a6e3c4c32cdf85a824dda9ecc6d3be43777aca42d20db59566550 4086226
fop-doc_0.95.dfsg-10_all.deb
Files:
1b191b0da68f0760cfde7d4ee748d917 1663 text optional fop_0.95.dfsg-10.dsc
d895886c182acad170f8f831da82c91e 12372 text optional
fop_0.95.dfsg-10.debian.tar.gz
a9a69f1a01434c764fbaf17cf6e94771 2086382 text optional fop_0.95.dfsg-10_all.deb
ff1dd79b343870687d5696f893c33927 4086226 doc optional
fop-doc_0.95.dfsg-10_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkuSuUIACgkQx/UhwSKygsrqWQCfQ0J+/G7RUUmRkNUEMiTD1Vq4
paoAniU+S31h7OmkrJFJGH2r+ExMs+7O
=GQ6A
-----END PGP SIGNATURE-----
--- End Message ---