Unable to programatically update icon using JDK 5.0

by Developer on ‎09-04-2012 09:53 AM (4,732 Views)

Symptoms

java.lang error occurs when you try setting the application icon back to the default icon by using BlackBerry® Java® Development Environment 5.0.

Diagnosis

 

A bug with JDK® 5.0 causes this error to occur.

Solution

Include a copy of the default icon within the project with a different name. Instead of referring to the default icon in the code, refer to the copy of the icon instead.