bug-classpath
[Top][All Lists]
Advanced

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

[Bug awt/28694] New: NPE in ColorModel triggered by ConvolveOp


From: hendrich at informatik dot uni-hamburg dot de
Subject: [Bug awt/28694] New: NPE in ColorModel triggered by ConvolveOp
Date: 11 Aug 2006 09:47:43 -0000

Trying to use ConvolveOp.filter crashes with a NPE when used on
BufferedImage.TYPE_INT_RGB images:

Exception during event dispatch:
java.lang.ArrayIndexOutOfBoundsException: 3
   at java.awt.image.ColorModel.getComponentSize(ColorModel.java:200)
   at java.awt.image.ColorModel.coerceData(ColorModel.java:641)
   at java.awt.image.DirectColorModel.coerceData(DirectColorModel.java:405)
   at java.awt.image.BufferedImage.coerceData(BufferedImage.java:349)
   at java.awt.image.ConvolveOp.filter(ConvolveOp.java:126)

No extra testcase. Download Niffler (jar or src), run, open image file, 
select any of the convolve filters, e.g. [Tools] > [Blur] > [Gauss 3x3]
http://tams-www.informatik.uni-hamburg.de/personal/hendrich/niffler/


-- 
           Summary: NPE in ColorModel triggered by ConvolveOp
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: awt
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hendrich at informatik dot uni-hamburg dot de


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





reply via email to

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