Hi,
After the latest java update, my application is suddenly throwing
errors related to icons in JOptionPanes.
The following appears on the terminal:
2008-09-25 11:03:17.060 java[63400:c1b] *** CPerformer: ignoring
exception 'Can't cache image' raised during perform of selector
'getDockIconImage:' on target '<ApplicationDelegate: 0x13b980>' with
args '<>'
2008-09-25 11:03:29.557 java[63400:c1b] *** CPerformer: ignoring
exception 'Can't cache image' raised during perform of selector
'getDockIconImage:' on target '<ApplicationDelegate: 0x13b980>' with
args '<>'
2008-09-25 11:03:29.627 java[63400:c1b] *** CPerformer: ignoring
exception 'Can't cache image' raised during perform of selector
'getDockIconImage:' on target '<ApplicationDelegate: 0x13b980>' with
args '<>'
This exception also gets thrown
Caused by: java.lang.IllegalArgumentException: Width (0) and height
(0) cannot be <= 0
at
java
.awt
.image
.DirectColorModel
.createCompatibleWritableRaster(DirectColorModel.java:999)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:345)
at apple.awt.CImage.<init>(CImage.java:163)
at apple.awt.CImage$Creator.createImageWithSize(CImage.java:59)
at apple.awt.CImage$Creator.createImage(CImage.java:45)
at apple.awt.CImage$Creator.createImage(CImage.java:35)
at
com.apple.eawt.Application.getDockIconImage(Application.java:296)
... 51 more
Does anybody know what's going on (and more importantly how to fix
it?)