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 113098 - [ProfilingPoints] IllegalState exception after closing profiled project
Summary: [ProfilingPoints] IllegalState exception after closing profiled project
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-17 15:12 UTC by Maksim Khramov
Modified: 2007-10-09 09:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2007-08-17 15:12:32 UTC
Product Version: NetBeans IDE Dev (Build 200708170000) 
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

Steps to reproduce:
Create Anagram game project
Open Profiling points window
Insert Timed Take Snapshot with Take Every 1 minute interval
Run Profile Main Project in CPU mode.
Wait for some snapshots taken.
Stop profiling session.
Open snapshots report.
Open snapshot.
Close all opened documents
Close project.
IllegalStateException is thrown:
java.lang.IllegalStateException: Assertion failed. WindowsAPI is required to be called from AWT thread only, see
http://core.netbeans.org/proposals/threading/
	at org.netbeans.core.windows.WindowManagerImpl.assertEventDispatchThreadWeak(WindowManagerImpl.java:1422)
	at org.netbeans.core.windows.WindowManagerImpl.topComponentIsOpened(WindowManagerImpl.java:1162)
	at org.openide.windows.TopComponent.isOpened(TopComponent.java:398)
	at org.openide.windows.TopComponent.isOpened(TopComponent.java:389)
	at org.openide.windows.TopComponent.close(TopComponent.java:414)
	at org.openide.windows.TopComponent.close(TopComponent.java:405)
	at
org.netbeans.modules.profiler.ppoints.TimedTakeSnapshotProfilingPoint.hideResults(TimedTakeSnapshotProfilingPoint.java:300)
	at org.netbeans.modules.profiler.ppoints.ProfilingPointsManager.unloadProfilingPoints(ProfilingPointsManager.java:406)
	at org.netbeans.modules.profiler.ppoints.ProfilingPointsManager.projectClosed(ProfilingPointsManager.java:394)
	at
org.netbeans.modules.profiler.ppoints.ProfilingPointsManager.processOpenedProjectsChanged(ProfilingPointsManager.java:371)
	at org.netbeans.modules.profiler.ppoints.ProfilingPointsManager.access$000(ProfilingPointsManager.java:67)
	at org.netbeans.modules.profiler.ppoints.ProfilingPointsManager$5.run(ProfilingPointsManager.java:348)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 Jiri Sedlacek 2007-09-20 10:54:11 UTC
Already fixed in Beta1.
Comment 2 Maksim Khramov 2007-10-09 09:38:28 UTC
Verified in build 200710081200