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

http://issues.apache.org/bugzilla/show_bug.cgi?id=40425





------- Additional Comments From [EMAIL PROTECTED]  2006-09-07 08:50 -------
Right, running FOP with JDK 1.5 works :-) 

Building and running FOP using JDK 1.4.2_11 with the latest sources form the 
SVN trunk, I get the following backtrace. The build proceeds, though, 
resulting in a PDF document missing that image (which in fact is a black 
square to simplify matters). 

07.09.2006 10:10:09 org.apache.fop.image.ImageIOImage loadBitmap
SCHWERWIEGEND: Error while loading image: 4
java.lang.ArrayIndexOutOfBoundsException: 4
        at 
com.sun.imageio.plugins.png.PNGImageReader.parse_PLTE_chunk(PNGImageReader.java:347)
        at 
com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:635)
        at 
com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1309)
        at 
com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1530)
        at org.apache.fop.image.ImageIOImage.loadBitmap(ImageIOImage.java:96)
        at 
org.apache.fop.image.ImageIOImage.loadDimensions(ImageIOImage.java:66)
        at 
org.apache.fop.image.AbstractFopImage.load(AbstractFopImage.java:160)
        at 
org.apache.fop.fo.flow.ExternalGraphic.bind(ExternalGraphic.java:73)
        at org.apache.fop.fo.FObj.processNode(FObj.java:118)
        at 
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:321)
        at 
org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:185)
        at 
org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1020)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown 
Source)
        at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown 
Source)
        at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 
Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
        at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:452)
        at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
        at org.apache.fop.cli.Main.startFOP(Main.java:160)
        at org.apache.fop.cli.Main.main(Main.java:191)
07.09.2006 10:10:09 org.apache.fop.fo.flow.ExternalGraphic bind
SCHWERWIEGEND: Cannot read image dimensions: 
url(/home/joe/docbook/images/caution.png)


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to