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 31675] New: - Batik image readers fails
Date Tue, 12 Oct 2004 19:23:54 GMT
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=31675>.
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=31675

Batik image readers fails

           Summary: Batik image readers fails
           Product: Fop
           Version: 1.0dev
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: images
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: bckfnn@worldonline.dk


The recent change to image loading (using batik, i believe) now throws an
exception for an image that previously loaded fine. 

Error loading an image
java.lang.ArrayIndexOutOfBoundsException: 651

	at
java.awt.image.SinglePixelPackedSampleModel.setPixels(SinglePixelPackedSampleModel.java:670)

	at java.awt.image.WritableRaster.setPixels(WritableRaster.java:547)

	at sun.awt.image.SunWritableRaster.setPixels(SunWritableRaster.java:132)

	at org.apache.batik.ext.awt.image.GraphicsUtil.copyData_FALLBACK(Unknown Source)

	at org.apache.batik.ext.awt.image.GraphicsUtil.copyData(Unknown Source)

	at org.apache.batik.ext.awt.image.rendered.Any2sRGBRed.copyData(Unknown Source)

	at org.apache.batik.ext.awt.image.rendered.AbstractRed.getData(Unknown Source)

	at org.apache.batik.ext.awt.image.rendered.AbstractRed.getData(Unknown Source)

	at org.apache.fop.image.BatikImage.loadImage(BatikImage.java:159)

	at org.apache.fop.image.BatikImage.loadBitmap(BatikImage.java:69)

	at org.apache.fop.image.AbstractFopImage.load(AbstractFopImage.java:149)

	at org.apache.fop.render.pdf.PDFRenderer.putImage(PDFRenderer.java:1141)

	at org.apache.fop.render.pdf.PDFRenderer.renderImage(PDFRenderer.java:1077)

	at org.apache.fop.render.AbstractRenderer.renderViewport(AbstractRenderer.java:626)

	at org.apache.fop.render.pdf.PDFRenderer.renderViewport(PDFRenderer.java:1243)

	at
org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:578)

	at org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:564)

	at org.apache.fop.render.pdf.PDFRenderer.renderLineArea(PDFRenderer.java:766)

	at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:500)

	at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:542)

	at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:492)

	at org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:403)

	at
org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:386)

	at
org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:322)

	at
org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:270)

	at
org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:243)

	at org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:435)

	at
org.apache.fop.area.RenderPagesModel.checkPreparedPages(RenderPagesModel.java:147)

	at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:126)

	at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:537)

	at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.doLayout(PageSequenceLayoutManager.java:236)

	at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.run(PageSequenceLayoutManager.java:178)

	at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:322)

	at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:239)

	at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:275)

Mime
View raw message