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.
Summary: | IllegalArgumentException: Numbers of source Raster bands and source color space components do not match | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Tiven |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 163795 |
Attachments: | stacktrace |
Description
Tiven
2009-12-20 13:51:50 UTC
Created attachment 92799 [details]
stacktrace
I was able to reproduce this issue using the following image: http://farm4.static.flickr.com/3655/3591243423_a258d87ea6.jpg It seems to be a bug in JDK. ImageIO.read() throws IllegalArgumentException for some valid images (that can be created using 'new ImageIcon(...)'). Related JDK bugs seems to be: http://bugs.sun.com/view_bug.do?bug_id=4893408 http://bugs.sun.com/view_bug.do?bug_id=4884308 We will implement some workaround. You should remove or save the problematic image in another format (to be able to use it in GUI builder in NetBeans 6.7 or 6.8). Fixed. Modified file: http://hg.netbeans.org/cdev/rev/079cc22559e2 |