| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Sep 25, 2008, at 12:11 PM, Filip Defoort wrote:
On Thu, Sep 25, 2008 at 11:50 AM, Mike Swingler <email@hidden> wrote:
On Sep 25, 2008, at 11:06 AM, Filip Defoort wrote:
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?)
Can you please file a bug with a test case containing the code that triggers
this? Do you have any JNI in this application, or anything else that
significantly changes the Dock icon?
Hi,
It's a bit hard to isolate - large application...
It's using mrjadapter to deal with the OSX specific issues (which does set the dock image), so I suspect that that's where the problem originates. Any chance that rings a bell or do you need more info ?
Thanks, Mike Swingler Java Runtime Engineer Apple Inc. _______________________________________________ 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
| References: | |
| >Java 1.5 Update - problems with dock image (From: "Filip Defoort" <email@hidden>) | |
| >Re: Java 1.5 Update - problems with dock image (From: Mike Swingler <email@hidden>) | |
| >Re: Java 1.5 Update - problems with dock image (From: "Filip Defoort" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.