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 101797

Summary: ISE when closing tasklist window and tasklist module is disabled
Product: platform Reporter: Jiri Prox <jiriprox>
Component: Action ItemsAssignee: Stanislav Aubrecht <saubrecht>
Status: VERIFIED FIXED    
Severity: blocker CC: athompson
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 102174    
Bug Blocks:    
Attachments: full stacktrace

Description Jiri Prox 2007-04-19 15:11:35 UTC
NetBeans IDE Dev (Build 20070419-1146)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
Linux version 2.6.5-1.358 running on i386
en_US (nb); UTF-8

ISE is thrown when closing tasklist window when tasklist module was disabled in
options. 

Steps to reproduce:
1) open tasklist window
2) go to options and disable tasklist
3) close tasklist window
->
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:1416)
	at
org.netbeans.core.windows.WindowManagerImpl.topComponentID(WindowManagerImpl.java:1173)
	at org.openide.windows.WindowManager.findTopComponentID(WindowManager.java:491)
Comment 1 Jiri Prox 2007-04-19 15:12:37 UTC
Created attachment 41262 [details]
full stacktrace
Comment 2 Stanislav Aubrecht 2007-04-26 10:44:16 UTC
*** Issue 102498 has been marked as a duplicate of this issue. ***
Comment 3 Stanislav Aubrecht 2007-04-26 15:05:25 UTC
*** Issue 102498 has been marked as a duplicate of this issue. ***
Comment 4 athompson 2007-04-26 15:06:14 UTC
*** Issue 102498 has been marked as a duplicate of this issue. ***
Comment 5 athompson 2007-04-26 15:07:57 UTC
*** Issue 102498 has been marked as a duplicate of this issue. ***
Comment 6 athompson 2007-04-26 15:09:35 UTC
*** Issue 102498 has been marked as a duplicate of this issue. ***
Comment 7 Stanislav Aubrecht 2007-05-03 11:01:48 UTC
fixed

Checking in
projects/tasklist/src/org/netbeans/modules/tasklist/projectint/FileObjectIterator.java;
/cvs/projects/tasklist/src/org/netbeans/modules/tasklist/projectint/FileObjectIterator.java,v
 <--  FileObjectIterator.java
new revision: 1.3; previous revision: 1.2
done
Checking in
core/tasklist/ui/src/org/netbeans/modules/tasklist/impl/CurrentEditorScanningScope.java;
/cvs/core/tasklist/ui/src/org/netbeans/modules/tasklist/impl/CurrentEditorScanningScope.java,v
 <--  CurrentEditorScanningScope.java
new revision: 1.3; previous revision: 1.2
Comment 8 Stanislav Aubrecht 2007-05-18 10:55:52 UTC
*** Issue 103799 has been marked as a duplicate of this issue. ***
Comment 9 Jiri Prox 2007-06-06 14:22:13 UTC
v.