Bug ID 1068424
Summary xmlgraphics-fop exits with error (works on Leap)
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter fs@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Created attachment 748931 [details]
FO file used for the fop command

fop is called with this command:

ADDITIONAL_FLAGS="-Djavax.xml.transform.URIResolver=org.apache.xml.resolver.tools.CatalogResolver
-Djava.util.logging.config.file=/etc/fop/fop_logging.properties "  
ADDITIONAL_JARS="batik-all excalibur/avalon-framework-impl "  
ADDITIONAL_OPTIONS=" -Xss2048K "   fop -q  "hitchhiker-guide-fop_color_en.fo
hitchhiker-guide_color_en.pdf"

and errors out with

-----------------------------
Java virtual machine used: /usr/lib64/jvm/jre/bin/java
classpath used:
/usr/share/java/xmlgraphics-fop.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/commons-logging.jar:/usr/share/java/commons-io.jar:/usr/share/java/avalon-framework.jar:/usr/share/java/batik-all.jar:/usr/share/java/xml-commons-jaxp-1.3-apis.jar:/usr/share/java/xml-commons-jaxp-1.3-apis-ext.jar:/usr/share/java/batik-all.jar:/usr/share/java/excalibur/avalon-framework-impl.jar
main class used: org.apache.fop.cli.Main
flags used:
'-Djavax.xml.transform.URIResolver=org.apache.xml.resolver.tools.CatalogResolver'
'-Djava.util.logging.config.file=/usr/share/daps/etc/fop/fop_logging.properties'
options used: '-Xss2048K'
arguments used: -c /etc/fop.xconf
/home/tux/suse-doc-howtos/build/.tmp/hitchhiker-guide-fop_color_en.fo
/home/tux/suse-doc-howtos/build/hitchhiker-guide/hitchhiker-guide_color_en.pdf
Exception in thread "main" java.lang.NoSuchMethodError:
java.nio.CharBuffer.limit(I)Ljava/nio/CharBuffer;
    at org.apache.fop.fo.FOText.characters(FOText.java:137)
    at org.apache.fop.fo.FObjMixed.characters(FObjMixed.java:74)
    at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.characters(FOTreeBuilder.java:388)
    at org.apache.fop.fo.FOTreeBuilder.characters(FOTreeBuilder.java:136)
    at
com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:546)
    at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.characters(AbstractSAXParser.java:546)
    at
com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.characters(XIncludeHandler.java:1131)
    at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:455)
    at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
    at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
    at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
    at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:668)
    at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:737)
    at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:351)
    at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:285)
    at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
    at org.apache.fop.cli.Main.startFOP(Main.java:186)
    at org.apache.fop.cli.Main.main(Main.java:216)

-----------------------------

daps-2.4.0-3.3.noarch
suse-xsl-stylesheets-2.0.8-1.1.noarch
xmlgraphics-fop-2.1-6.1.noarch


You are receiving this mail because: