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 174301 - IllegalStateException at org.netbeans.modules.profiler.LiveResultsWindow.preparePanelForInstrType
Summary: IllegalStateException at org.netbeans.modules.profiler.LiveResultsWindow.prep...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-11 09:32 UTC by tprochazka
Modified: 2009-11-03 15:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 68703


Attachments
stacktrace (4.62 KB, text/plain)
2009-10-11 09:32 UTC, tprochazka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tprochazka 2009-10-11 09:32:38 UTC
Build: NetBeans IDE 6.8 M2 (Build 200910071658)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows 7, 6.1, x86

User Comments:
pcw: general ide work, providing results were in (non-current, non-focused) top component.



Stacktrace: 
java.lang.IllegalStateException
        at org.netbeans.modules.profiler.LiveResultsWindow.preparePanelForInstrType(LiveResultsWindow.java:1095)
        at org.netbeans.modules.profiler.LiveResultsWindow.updateResultsDisplay(LiveResultsWindow.java:1220)
        at org.netbeans.modules.profiler.LiveResultsWindow.componentShowing(LiveResultsWindow.java:851)
        at org.openide.windows.WindowManager.componentShowing(WindowManager.java:332)
        at org.netbeans.core.windows.WindowManagerImpl.componentShowing(WindowManagerImpl.java:1022)
        at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:161)
Comment 1 tprochazka 2009-10-11 09:32:45 UTC
Created attachment 89275 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-10-11 09:32:50 UTC
This issue already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=68703
Comment 3 Jiri Sedlacek 2009-11-02 15:09:13 UTC
Steps to reproduce:

 1/ Attach the profiler to an application
 2/ Open Live Results window
 3/ Detach the profiler without terminating the application
 4/ Close Live Results window, open it again using Window | Profiling | Live Results
Comment 4 Jiri Sedlacek 2009-11-02 15:46:23 UTC
Fixed in trunk.


http://hg.netbeans.org/profiler-main/rev/87c460702363
Comment 5 Quality Engineering 2009-11-03 15:03:12 UTC
Integrated into 'main-golden', will be available in build *200911031401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/87c460702363
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #174301 - correctly handle detaching from kept-alive application