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.
NetBeans IDE Dev (Build 070126) 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104 Windows XP version 5.1 running on x86 en_GB (nb); Cp1252 Description: ============ 1. have JDA - basic 2. insert jButton and invoke action editor 3. click on icon and select some external icon and confirm selection and do save 4. do reload on form - warning appears that form is probably corrupted Set allow editing and then try to invoke action editor. An exception occurs and IDE is becoming to be unstable. Restart doesn't help, only deleting of userdir is useful. StackTrace: =========== application.ResourceMap$LookupException: string conversion failed at application.ResourceMap.getObject(ResourceMap.java:664) at org.netbeans.modules.swingapp.ProxyAction.getResource(ProxyAction.java:131) at org.netbeans.modules.swingapp.ProxyAction.loadFromResourceMap(ProxyAction.java:114)
Created attachment 37728 [details] 93325
External icon can't be stored as resource (not supported by App Framework). We need to fix the IconEditor to handle this case gracefully. Why do you need to delete user dir? Isn't it enough to delete the component with the broken action?
Is' not sufficient to delete the component which caused it. If you do it, problem is not solved. When you insert another one, you are not able to set action because action editor is broken for it as well.
By 'external icon' do you mean an Icon that is not inside a directory of the project?
yes, now user can add external icon and it causes described consequences. I increase the priority to P2 as it was when bug was created because when these steps are done,I am not able to bring back form in state in which it was before.
I cannot reproduce this bug anymore. The form no longer crashes.
when external icon is added in build 200706220441 ... this issue occurs http://www.netbeans.org/issues/show_bug.cgi?id=106771. I will verify it after fixing this issue
external icon is no longer possible to set in action editor verified on Product Version: NetBeans IDE Dev (Build 070913) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)