This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 223663 - IllegalArgumentException: Numbers of source Raster bands and source color space components do not match
Summary: IllegalArgumentException: Numbers of source Raster bands and source color spa...
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Image (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-11 14:29 UTC by Exceptions Reporter
Modified: 2012-12-14 02:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 196403


Attachments
stacktrace (2.95 KB, text/plain)
2012-12-11 14:29 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-12-11 14:29:42 UTC
This bug was originally marked as duplicate of bug 178906, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows 7

Stacktrace: 
java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match
   at java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:482)
   at com.sun.imageio.plugins.jpeg.JPEGImageReader.acceptPixels(JPEGImageReader.java:1190)
   at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(JPEGImageReader.java:0)
   at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1158)
   at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:966)
   at javax.imageio.ImageIO.read(ImageIO.java:1448)
Comment 1 Exceptions Reporter 2012-12-11 14:29:43 UTC
Created attachment 129206 [details]
stacktrace
Comment 2 Jan Peska 2012-12-12 10:19:53 UTC
fix: http://hg.netbeans.org/core-main/rev/664f30a6b0a0
Comment 3 Jan Peska 2012-12-12 10:21:53 UTC
(In reply to comment #2)
> fix: http://hg.netbeans.org/core-main/rev/664f30a6b0a0

Workaround for JDK bug - the same as in bug #178906
Comment 4 Quality Engineering 2012-12-14 02:44:38 UTC
Integrated into 'main-golden', will be available in build *201212140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/664f30a6b0a0
User: Jan Peska <JPESKA@netbeans.org>
Log: Issue #223663 - IllegalArgumentException: Numbers of source Raster bands and source color space components do not match
Workaround for JDK bug in Image loading