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 2003/12/10 18:14:55 UTC

DO NOT REPLY [Bug 25413] New: - ClassCastException thrown from ..$SVGHandler.renderSVGDocument

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25413>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25413

ClassCastException thrown from ..$SVGHandler.renderSVGDocument

           Summary: ClassCastException thrown from
                    ..$SVGHandler.renderSVGDocument
           Product: Fop
           Version: 1.0dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: pdf renderer
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: john@integerservices.no-ip.com


The following exception and stack trace are produced by the command:

java -Xms100m -Xmx200m -cp
.:build/fop.jar:lib/avalon-framework-4.1.4.jar:lib/batik.jar:lib/commons-io-dev-20030703.jar
org.apache.fop.apps.Fop -fo test/resources/fop/svg/images.fo -pdf /tmp/12654.pdf

which executes command-line FOP on file: test/resources/fop/svg/images.fo

Messages include: 

[ERROR] svg graphic could not be built: null
java.lang.ClassCastException
        at org.apache.batik.bridge.BridgeContext.initializeDocument(Unknown Source)
        at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
        at
org.apache.fop.render.pdf.PDFXMLHandler$SVGHandler.renderSVGDocument(PDFXMLHandler.java:271)
        at org.apache.fop.render.pdf.PDFXMLHandler.handleXML(PDFXMLHandler.java:177)

<snip/>