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.
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.
I'm filing as a P2 just because I don't have an exact reproduction steps. Otherwise I'd consider deadlock as P1.
Reassigning to nodes for evaluation.
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...
Created attachment 71296 [details] trace
Sorry, forgot to attach. It's the same I sent to the core list.
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.
*** Issue 149376 has been marked as a duplicate of this issue. ***
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.