Your message dated Fri, 27 Feb 2009 16:21:45 +0100
with message-id <[email protected]>
and subject line fixed
has caused the Debian Bug report #447951,
regarding fop: NullPointerException whilst transforming
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.)
--
447951: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=447951
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fop
Version: 1:0.93.dfsg.1-2
Severity: grave
[It is possible that fop works for other people, in which case this
would merely be important. Feel free to adjust.]
When transforming the attached file, I get the following messages:
Oct 24, 2007 10:15:23 PM org.apache.fop.apps.FopFactory getBaseURLfromConfig
INFO: hyphenation-base set to: file:///etc/fop/hyph/
Oct 24, 2007 10:15:23 PM org.apache.fop.apps.FopFactory initUserConfig
INFO: Source resolution set to: 72.0dpi (px2mm=0.35277778)
Oct 24, 2007 10:15:23 PM org.apache.fop.apps.FopFactory initUserConfig
INFO: Default page-height set to: 11in
Oct 24, 2007 10:15:23 PM org.apache.fop.apps.FopFactory initUserConfig
INFO: Default page-width set to: 8.5in
Oct 24, 2007 10:15:23 PM org.apache.fop.apps.FopFactory getBaseURLfromConfig
INFO: base set to: file:/home/bmc/checkouts/website-bmc/writings/./
Oct 24, 2007 10:15:23 PM org.apache.fop.apps.FOUserAgent configure
INFO: Target resolution set to: 72.0dpi (px2mm=0.35277778)
Oct 24, 2007 10:15:26 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.lang.NullPointerException
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
at org.apache.fop.cli.Main.startFOP(Main.java:160)
at org.apache.fop.cli.Main.main(Main.java:191)
---------
java.lang.NullPointerException
at org.apache.fop.render.pdf.FopPDFImage.setup(FopPDFImage.java:144)
at org.apache.fop.pdf.PDFDocument.addImage(PDFDocument.java:726)
at org.apache.fop.render.pdf.PDFRenderer.putImage(PDFRenderer.java:1464)
at
org.apache.fop.render.pdf.PDFRenderer.drawImage(PDFRenderer.java:1397)
at
org.apache.fop.render.AbstractPathOrientedRenderer.drawImage(AbstractPathOrientedRenderer.java:678)
at
org.apache.fop.render.AbstractPathOrientedRenderer.drawBackAndBorders(AbstractPathOrientedRenderer.java:191)
at
org.apache.fop.render.AbstractPathOrientedRenderer.handleRegionTraits(AbstractPathOrientedRenderer.java:100)
at
org.apache.fop.render.pdf.PDFRenderer.handleRegionTraits(PDFRenderer.java:761)
at
org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:283)
at
org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:262)
at
org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:236)
at
org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:713)
at
org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:120)
at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:786)
at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:159)
at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:385)
at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:148)
at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)
at
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1101)
at org.apache.xerces.parsers.AbstractSAXParser.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.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
at org.apache.fop.cli.Main.startFOP(Main.java:160)
at org.apache.fop.cli.Main.main(Main.java:191)
The default Java implementation is icedtea, but it occurs when using gcj
as well. Sun Java is not installed. This bug is not fixed in 0.94; I
tested. I gzipped the testcase because it is 239k uncompressed, which
is too large for email. I also tried disabling the /etc/fop.conf file
that I use, but this did not affect anything.
This problem can be trivially reproduced with
fop -fo an-orange-in-flight.fo -pdf an-orange-in-flight.pdf
If you would like the DocBook 5.0CR4 source and the stylesheets used to
transform it, I can tell you where to download them from. Note that
checking them out will require a HEAD version of git and some setup,
which is why I just provided the XSL-FO.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.23-rc9 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages fop depends on:
ii gij [java2-r 4:4.2.1-6 The GNU Java bytecode interpreter
ii gij-4.1 [jav 4.1.2-16 The GNU Java bytecode interpreter
ii gij-4.2 [jav 4.2.2-3 The GNU Java bytecode interpreter
ii icedtea-java 7~b22-1.5~20071018-0ubuntu1 Java runtime based on OpenJDK
ii libavalon-fr 4.2.0-4 Common framework for Java server a
ii libbatik-jav 1.6-3 xml.apache.org SVG Library
ii libbsf-java 1:2.3.0+cvs20050308a-2 Bean Scripting Framework to suppor
ii libcommons-i 1.3.2-2 Common useful IO related classes
ii libcommons-l 1.1-1 commmon wrapper interface for seve
ii libxalan2-ja 2.7.0-5 XSL Transformations (XSLT) process
ii libxerces2-j 2.9.0-1 Validating XML parser for Java wit
ii libxmlgraphi 1.1.dfsg.2-1 reusable components used by Batik
ii libxp6 1:1.0.0.xsf1-1 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
fop recommends no packages.
-- no debconf information
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
a typesetting engine: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
an-orange-in-flight.fo.gz
Description: Binary data
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Works for me with fop v0.95.
Don't hesitate to reopen if it is still failing for you.
S
--- End Message ---
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers