Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4667086
Votes 1
Synopsis The "invert" operation causes out of bounds exception on large images.
Category jai:implementation
Reported Against 1.1.1
Release Fixed
State 11-Closed, Not Reproducible, bug
Priority: 4-Low
Related Bugs
Submit Date 12-APR-2002
Description
Bug reported by customer, Andriy Palamarchuk <  xxxxx@xxxxx  >. The customer also provided a partial test case, a compiling version of which is attached to this bug report. Here is the customer's report:

The "invert" operation crashes on big images with an exception:

java.lang.ArrayIndexOutOfBoundsException:
        at sun.awt.image.BytePackedRaster.getByteData(BytePackedRaster.java:387)
        at sun.awt.image.BytePackedRaster.getDataElements(BytePackedRaster.java:259)
        at java.awt.image.BufferedImage.getData(BufferedImage.java:1284)
        at javax.media.jai.RenderedImageAdapter.getData(RenderedImageAdapter.java:156)
        at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:797)
        at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:848)
        at javax.media.jai.OpImage.getTile(OpImage.java:864)
        at javax.media.jai.PlanarImage.getData(PlanarImage.java:2083)
        at javax.media.jai.RenderedOp.getData(RenderedOp.java:2232)
        at com.sun.media.jai.codecimpl.TIFFImageEncoder.encode(TIFFImageEncoder.java:974)
        at com.sun.media.jai.codecimpl.TIFFImageEncoder.encode(TIFFImageEncoder.java:153)
        at FO2Image.testGenerateImage(src/FO2Image.java:114)
        at FO2Image.main(src/FO2Image.java:230)
Exception in thread "main" 

This happens only on big sizes of the image.
Work Around
N/A
Evaluation
Using the supplied test case the problem was not reproducible.
Posted Date : 2006-06-20 21:31:37.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang