Bug 25411 - [WARNING] Error while constructing image from XML -- throws IOE
Summary: [WARNING] Error while constructing image from XML -- throws IOE
Status: CLOSED WONTFIX
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: trunk
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 17:01 UTC by John Wm Austin
Modified: 2012-04-30 00:17 UTC (History)
0 users



Attachments
Log of messages including the error and stack trace (10.45 KB, text/plain)
2003-12-10 17:24 UTC, John Wm Austin
Details
fop 1.1dev log (19.01 KB, text/plain)
2012-04-11 06:37 UTC, Glenn Adams
Details
input test files (5.77 KB, application/x-gzip)
2012-04-11 06:39 UTC, Glenn Adams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Wm Austin 2003-12-10 17:01:30 UTC
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),
Comment 1 John Wm Austin 2003-12-10 17:24:31 UTC
Created attachment 9499 [details]
Log of messages including the error and stack trace
Comment 2 Glenn Adams 2012-04-11 06:37:26 UTC
Created attachment 28579 [details]
fop 1.1dev log

the current output when running FOP1.1dev (trunk) on input file and images
Comment 3 Glenn Adams 2012-04-11 06:39:06 UTC
Created attachment 28580 [details]
input test files
Comment 4 Glenn Adams 2012-04-11 06:41:12 UTC
moving to resolved+wontfix due to lack of action or agreement to take action on this; i've attached a full input test set plus the current console output from fop1.1dev trunk
Comment 5 Glenn Adams 2012-04-30 00:14:40 UTC
batch transition resolved+wontfix to closed+wontfix
Comment 6 Glenn Adams 2012-04-30 00:17:12 UTC
batch transition resolved+wontfix to closed+wontfix; if you believe this remains a bug and can demonstrate it with appropriate input FO file and output PDF file (as applicable), then you may reopen