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 37805 - Must call TopComponent.setIcon in EQ from SuggestionsView.setScanning
Summary: Must call TopComponent.setIcon in EQ from SuggestionsView.setScanning
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Tim Lebedkov
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2003-12-05 21:16 UTC by Jesse Glick
Modified: 2004-12-20 11:38 UTC (History)
1 user (show)

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 Jesse Glick 2003-12-05 21:16:50 UTC
Simple to fix; please do so soon as this clutters
the ide.log quite a bit.

[catch]java.lang.IllegalStateException: Assertion
failed. WindowsAPI is required to be called from
AWT thread only, see
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/threading.html
	at
org.netbeans.core.windows.WindowManagerImpl.assertEventDispatchThreadWeak(WindowManagerImpl.java:875)
	at
org.netbeans.core.windows.WindowManagerImpl.topComponentIconChanged(WindowManagerImpl.java:807)
	at
org.openide.windows.TopComponent.setIcon(TopComponent.java:558)
	at
org.netbeans.modules.tasklist.suggestions.SuggestionsView.setScanning(SuggestionsView.java:304)
	at
org.netbeans.modules.tasklist.suggestions.SuggestionManagerImpl.setScanning(SuggestionManagerImpl.java:1255)
	at
org.netbeans.modules.tasklist.suggestions.SuggestionManagerImpl.access$900(SuggestionManagerImpl.java:82)
	at
org.netbeans.modules.tasklist.suggestions.SuggestionManagerImpl$2.run(SuggestionManagerImpl.java:1346)
	at org.openide.util.Task.run(Task.java:136)
	at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
	at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:678)
Comment 1 Jesse Glick 2003-12-05 21:17:18 UTC
Or let me know if you want me to patch it myself, it would be simple.
Comment 2 Tim Lebedkov 2003-12-06 10:39:39 UTC
What's EQ?
Comment 3 Tim Lebedkov 2003-12-06 14:51:20 UTC
fixed
Comment 4 Jesse Glick 2003-12-07 05:19:26 UTC
Don't forget the target milestone.

BTW it is nice to copy the CVS output from the commit and paste it
into the issue report when closing as fixed - helpful if someone ever
needs to find out what files were modified for the fix. (Otherwise you
need to use a tool like cvsps.)
Comment 5 Tim Lebedkov 2004-12-20 11:38:34 UTC
Fixed in 3.6. 4.0 is out.