Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java 1.5 Update - problems with dock image



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?)

Thanks in advance,
- Filip
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.