bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug awt/27824] New: ArrayIndexOutOfBoundsException in BufferedImageGrap


From: pere at hungry dot com
Subject: [Bug awt/27824] New: ArrayIndexOutOfBoundsException in BufferedImageGraphics.draw()
Date: 30 May 2006 13:40:11 -0000

When running the openstreetmap.org java applet using the CVS version of
classpath, I get this exception when it tries to process the first downloaded
tile image:

Trying to download image
http://www.openstreetmap.org/tile/0.2/gpx?&BBOX=-0.1483154296875,51.524124996893335,-0.142822265625,51.525833847122584&WIDTH=256&HEIGHT=128
nullready:trueError while running applet.
java.lang.ArrayIndexOutOfBoundsException: While writing data elements, x=700,
y=499, width=700, height=500, scanlineStride=700, offset=350000,
data.getSize()=350000, data.getOffset()=0:
java.lang.ArrayIndexOutOfBoundsException: 350000
   at
java.awt.image.SinglePixelPackedSampleModel.setDataElements(SinglePixelPackedSampleModel.java:372)
   at java.awt.image.WritableRaster.setDataElements(WritableRaster.java:120)
   at java.awt.image.BufferedImage.setRGB(BufferedImage.java:622)
   at
gnu.java.awt.peer.gtk.BufferedImageGraphics.updateBufferedImage(BufferedImageGraphics.java:126)
   at
gnu.java.awt.peer.gtk.BufferedImageGraphics.draw(BufferedImageGraphics.java:155)
   at processing.core.PGraphics2.stroke_shape(PGraphics2.java:387)
   at processing.core.PGraphics2.line(PGraphics2.java:415)
   at processing.core.PApplet.line(PApplet.java:5970)
   at org.openstreetmap.processing.OsmApplet.draw(OsmApplet.java:452)
   at processing.core.PApplet.display(PApplet.java:1183)
   at processing.core.PGraphics.requestDisplay(PGraphics.java:520)
   at processing.core.PApplet.run(PApplet.java:1009)
   at java.lang.Thread.run(Thread.java:733)


-- 
           Summary: ArrayIndexOutOfBoundsException in
                    BufferedImageGraphics.draw()
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: awt
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pere at hungry dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27824





reply via email to

[Prev in Thread] Current Thread [Next in Thread]