xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25411] New: - [WARNING] Error while constructing image from XML -- throws IOE
Date Wed, 10 Dec 2003 17:01:31 GMT
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=25411>.
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=25411

[WARNING] Error while constructing image from XML -- throws IOE

           Summary: [WARNING] Error while constructing image from XML --
                    throws IOE
           Product: Fop
           Version: 1.0dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: john@integerservices.no-ip.com


Formatting test/resources/fop/image/errors.fo using command-line Fop
encounters an error, then throws an IOException and produces a stack trace
followed by more of the error.

Shouldn't we skip the Exception.printStackTrace() where the root cause is
well-understood and handled by the program ?


Command to cause this problem:
==============================
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/image/errors.fo -pdf /tmp/12610.pdf

[INFO] 1.0dev
[WARNING] Error while constructing image from XML
java.io.IOException: Stream closed

... stack trace deleted ...

[ERROR] No ImageReader for this type of image (file:corrupt.svg)

... more stack trace deleted ...


the same error is repeated (I think),

Mime
View raw message