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.
[200508281800] Steps to reproduction: 1) Create a TopComponent from wizard. A action is created and inserterd into layer.xml 2) select the new action in layer.xml node. ClassNotFoundException is thrown. BTW it is quite risky to load created class is running ide.
Created attachment 24304 [details] exception
Weird. I thought I fixed this in NbErrorManager.java several days ago: ---------------------------- revision 1.58 date: 2005/08/25 02:34:06; author: jglick; state: Exp; lines: +24 -36 Removing lastException hack. Maybe it is useful sometimes, but I have observed it to force printing of unwanted stack traces from exceptions (CNFE from InstanceSupport) which get some annotation but are later caught and (supposed to be) ignored. ---------------------------- When I try it on my normal dev user dir, I get the exception. But when I try the same thing on a fresh dev build in a fresh user dir, I do not. Can you supply more precise steps to verify, making sure you are using a fresh dev build and fresh user dir and new projects? If I could reproduce I could fix it.
Ah, I think I found the trick: the project must be cleaned (not compiled), or it will not happen. So maybe the patch to NbErrorManager was unnecessary.
Found it. InstanceSupport.findHelp was the culprit.
Probably the issue 62514 is the same problem. It would be nice from you if you would kill two birds with one stone :)
*** Issue 62514 has been marked as a duplicate of this issue. ***
committed * Up-To-Date 1.13 openide/loaders/src/org/openide/loaders/InstanceSupport.java committed * Up-To-Date 1.2 openide/util/src/org/openide/util/HelpCtx.java
v