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:01:31 UTC
DO NOT REPLY [Bug 25411] New: -
[WARNING] Error while constructing image from XML -- throws IOE
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),