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.

Bug 55481 - The Select Class dialog
Summary: The Select Class dialog
Status: CLOSED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: iformanek
URL:
Keywords:
Depends on: 55551
Blocks:
  Show dependency tree
 
Reported: 2005-02-24 13:03 UTC by Jan Lahoda
Modified: 2006-03-24 12:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The IllegalStateException. (13.46 KB, text/plain)
2005-02-24 13:04 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2005-02-24 13:03:40 UTC
[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.
Comment 1 Jan Lahoda 2005-02-24 13:04:56 UTC
Created attachment 20500 [details]
The IllegalStateException.
Comment 2 iformanek 2005-02-24 13:11:20 UTC
Self assign for M6
Comment 3 Jan Lahoda 2005-02-25 18:26:35 UTC
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.
Comment 4 Jan Lahoda 2005-02-26 14:31:59 UTC
Verified that the problem was caused by issue #55551. #55551 is fixed
and this problem is gone.
Comment 5 Jan Lahoda 2005-02-26 14:32:58 UTC
The problem does not occur when using java/j2seproject's
J2SEPhysicalViewProvider.java revision 1.45.