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 16690 - EventThread seems to be blocked by annotate icon calls
Summary: EventThread seems to be blocked by annotate icon calls
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-18 15:58 UTC by Jaroslav Tulach
Modified: 2007-09-26 09:14 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 Jaroslav Tulach 2001-10-18 15:58:41 UTC
I do not know what is wrong, but build 2001/10/17/0100 seems to block AWT thread 
sometimes. Might be because I am using to much JavaCVS filesystems. Anyway here
is the stacktrace:


"AWT-EventQueue-0" prio=1 tid=0x8187e28 nid=0x48f8 waiting on monitor
[0x4e029000..0x4e029890]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at org.openide.util.Task.waitFinished(Task.java:86)
        at
org.netbeans.modules.java.parser.SourceImplProxy.findModelDelegate(SourceImplProxy.java:290)
        at
org.netbeans.modules.java.parser.SourceImplProxy.safeFindModelDelegate(SourceImplProxy.java:302)
        at
org.netbeans.modules.java.parser.SourceImplProxy.getPackage(SourceImplProxy.java:124)
        at org.openide.src.SourceElement.getPackage(SourceElement.java:100)
        at org.netbeans.modules.java.JavaNode.resolveIcons(JavaNode.java:544)
        at
org.netbeans.modules.java.JavaNode$StateUpdater.actionPerformed(JavaNode.java:878)
        at javax.swing.Timer.fireActionPerformed(Timer.java:150)
        at javax.swing.Timer$DoPostEvent.run(Timer.java:108)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Comment 1 Svata Dedic 2001-10-18 16:45:59 UTC
*grin* the source model data were garbage collected before the refresh
timeout on node's icon elapsed :-)
Comment 2 Svata Dedic 2001-10-18 17:31:19 UTC
Fixed in trunk. I've changed the icon resolving code to not block if
the model was garbage collected.
Comment 3 Jan Becicka 2002-10-22 14:48:15 UTC
None objects to this fix since NB 3.3. Marking 
as verified.
Comment 4 Quality Engineering 2003-07-01 13:17:19 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.