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 149377 - Working with Favorites window is a real pain.
Summary: Working with Favorites window is a real pain.
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Nodes (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P2 blocker (vote)
Assignee: t_h
URL:
Keywords: RANDOM
: 149376 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-07 15:11 UTC by Martin Grebac
Modified: 2009-11-09 06:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
trace (12.10 KB, text/plain)
2008-10-07 15:36 UTC, Martin Grebac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Grebac 2008-10-07 15:11:38 UTC
Note: From a daily build to daily build, I get a different behaviour, thus it's hard to submit issue for this. Also, I
don't have 100% reproducible testcase, since it's random. However, working with Favorites window is a real pain and I
can take down the IDE fairly easy after a couple of minutes of work with Favorites window.

I usually get exceptions like:

java.lang.AssertionError: visnodes.size()=3 snapshot.size()=2
   at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:88)
   at org.openide.explorer.view.VisualizerChildren.added(VisualizerChildren.java:227)
   at org.openide.explorer.view.VisualizerEvent$Added.run(VisualizerEvent.java:107)
   at org.openide.util.Mutex.readAccess(Mutex.java:362)
   at org.openide.explorer.view.VisualizerNode$QP.run(VisualizerNode.java:708)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
   at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
[catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) 

(that's after deleting file in Subversion).

 In other cases, I get a complete deadlock - when I play with Favorites window and do a background cvs update. For stack
trace, see attached jstack output. The build used is 200810070201.

 I'd appreciate if someone from QE would be able to try to track this down somehow. Thanks in advance.
Comment 1 Martin Grebac 2008-10-07 15:13:47 UTC
I'm filing as a P2 just because I don't have an exact reproduction steps. Otherwise I'd consider deadlock as P1.
Comment 2 Jiri Skrivanek 2008-10-07 15:20:07 UTC
Reassigning to nodes for evaluation.
Comment 3 Tomas Danek 2008-10-07 15:31:43 UTC
from stacktrace it seems to be duplicate of #148958, which should be now fixed in core-main
http://hg.netbeans.org/core-main/rev/a8e67ec3eec0

thread dump for deadlock -> perhaps you accidentally forgot to attach it?  please attach...
Comment 4 Martin Grebac 2008-10-07 15:36:42 UTC
Created attachment 71296 [details]
trace
Comment 5 Martin Grebac 2008-10-07 15:37:06 UTC
Sorry, forgot to attach. It's the same I sent to the core list.
Comment 6 t_h 2008-10-07 16:36:35 UTC
Deadlock is fixed in 79f5da2cf9e8. If you still have problem with mentioned assert please attach log with finer logging
for nodes (-J-Dorg.openide.nodes.level=100) and reopen.
Comment 7 rmatous 2008-10-07 17:35:04 UTC
*** Issue 149376 has been marked as a duplicate of this issue. ***
Comment 8 Quality Engineering 2008-10-08 06:02:45 UTC
Integrated into 'main-golden', will be available in build *200810080201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/79f5da2cf9e8
User: Tomas Holy <t_h@netbeans.org>
Log: #149377: Working with Favorites window is a real pain.