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.
[recent profiler sources], NB 200502222100, JDK1.5.0_02. The Select Class (in projects) dialog opened from Select Profiling Task/Specify Root Methods/Select Methods can be opened only once during a run of the IDE. For second and subsequent attempts to open it, the attached IllegalStateException is thrown. The workaround is to restart the IDE.
Created attachment 20500 [details] The IllegalStateException.
Self assign for M6
I think I have found the problem: recent versions of org.netbeans.modules.java.j2seproject.ui.J2SEPhysicalViewProvider.createLogicalView cache the result (return the same Node instance each time it is called), which is in my opinion invalid. I have created issue #55551 to track this problem.
Verified that the problem was caused by issue #55551. #55551 is fixed and this problem is gone.
The problem does not occur when using java/j2seproject's J2SEPhysicalViewProvider.java revision 1.45.