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 160431 - AssertionError: visnodes.size()=7 snapshot.size()=4
Summary: AssertionError: visnodes.size()=7 snapshot.size()=4
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: t_h
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
: 147848 148903 151389 151951 156362 157542 161302 162035 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-17 09:48 UTC by sreimers
Modified: 2009-11-05 13:03 UTC (History)
54 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 147698


Attachments
stacktrace (3.42 KB, text/plain)
2009-03-17 09:48 UTC, sreimers
Details
stacktrace (3.42 KB, text/plain)
2009-03-19 08:17 UTC, terje
Details
stacktrace (3.33 KB, text/plain)
2009-03-31 00:46 UTC, jemmyw
Details
stacktrace (3.80 KB, text/plain)
2009-04-14 06:06 UTC, mrhaki
Details
stacktrace (3.42 KB, text/plain)
2009-05-01 15:44 UTC, laurin1
Details
stacktrace (3.42 KB, text/plain)
2009-05-01 15:45 UTC, laurin1
Details
stacktrace (2.31 KB, text/plain)
2009-05-05 17:28 UTC, ranbato
Details
stacktrace (3.93 KB, text/plain)
2009-05-06 22:42 UTC, goeh
Details
stacktrace (1.48 KB, text/plain)
2009-05-08 18:12 UTC, gwimag
Details
stacktrace (2.33 KB, text/plain)
2009-05-11 16:02 UTC, swpalmer
Details
stacktrace (2.33 KB, text/plain)
2009-05-14 09:29 UTC, nleck
Details
stacktrace (3.42 KB, text/plain)
2009-05-14 20:55 UTC, laurin1
Details
stacktrace (3.42 KB, text/plain)
2009-05-19 14:39 UTC, malakim
Details
stacktrace (2.33 KB, text/plain)
2009-05-19 21:42 UTC, swpalmer
Details
stacktrace (2.33 KB, text/plain)
2009-05-20 11:42 UTC, aldobrucale
Details
stacktrace (2.33 KB, text/plain)
2009-05-21 18:55 UTC, swpalmer
Details
stacktrace (4.86 KB, text/plain)
2009-07-04 15:26 UTC, pbelbin
Details
message.log with -J-Dorg.openide.nodes.level=100 -J-Dorg.openide.explorer.level=100 options turned on (137.64 KB, application/x-compressed)
2009-07-13 03:28 UTC, johnsonlau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sreimers 2009-03-17 09:48:48 UTC
Build: NetBeans IDE Dev (Build 20090316024348)
VM: OpenJDK Client VM, 14.0-b10, Java(TM) SE Runtime Environment, 1.6.0_14-ea-b01
OS: Windows XP, 5.1, x86

User Comments:
sreimers: Editing Java Code after Copy and Paste



Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy6.childrenAdded(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1082)
        at org.openide.nodes.EntrySupport$Default.notifyAdd(EntrySupport.java:695)
        at org.openide.nodes.EntrySupport$Default.updateAdd(EntrySupport.java:516)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:345)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1502)
Comment 1 sreimers 2009-03-17 09:48:54 UTC
Created attachment 78283 [details]
stacktrace
Comment 2 terje 2009-03-19 08:17:13 UTC
Build: NetBeans IDE Dev (Build 200903181604)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments: 
Editor, keyboard input (input characters from keyboard)

Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenAdded(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1082)
        at org.openide.nodes.EntrySupport$Default.notifyAdd(EntrySupport.java:695)
        at org.openide.nodes.EntrySupport$Default.updateAdd(EntrySupport.java:516)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:345)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1502)
Comment 3 terje 2009-03-19 08:17:23 UTC
Created attachment 78425 [details]
stacktrace
Comment 4 jemmyw 2009-03-31 00:46:31 UTC
Build: NetBeans IDE Dev (Build 200903250219)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments: 
Opened an html.erb file

Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenAdded(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1082)
        at org.openide.nodes.EntrySupport$Default.notifyAdd(EntrySupport.java:695)
        at org.openide.nodes.EntrySupport$Default.updateAdd(EntrySupport.java:516)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:345)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1502)
Comment 5 jemmyw 2009-03-31 00:46:35 UTC
Created attachment 79096 [details]
stacktrace
Comment 6 mrhaki 2009-04-14 06:05:55 UTC
Build: NetBeans IDE Dev (Build 200904130201)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows Vista, 6.0, x86

User Comments: 
I was working on a GSP file. NetBeans tried to do a code completion, but produced the error.

Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenAdded(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1091)
        at org.openide.nodes.EntrySupport$Default.notifyAdd(EntrySupport.java:685)
        at org.openide.nodes.EntrySupport$Default.updateAdd(EntrySupport.java:511)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:343)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1503)
Comment 7 mrhaki 2009-04-14 06:06:05 UTC
Created attachment 80016 [details]
stacktrace
Comment 8 t_h 2009-04-29 11:42:24 UTC
*** Issue 161302 has been marked as a duplicate of this issue. ***
Comment 9 t_h 2009-04-29 11:42:42 UTC
*** Issue 162035 has been marked as a duplicate of this issue. ***
Comment 10 t_h 2009-04-29 12:15:02 UTC
Hopefully fixed by c8a55db90584.
Comment 11 t_h 2009-04-29 12:17:47 UTC
*** Issue 151951 has been marked as a duplicate of this issue. ***
Comment 12 t_h 2009-04-29 12:18:43 UTC
*** Issue 156362 has been marked as a duplicate of this issue. ***
Comment 13 t_h 2009-04-29 12:19:48 UTC
*** Issue 157542 has been marked as a duplicate of this issue. ***
Comment 14 t_h 2009-04-29 12:20:14 UTC
*** Issue 147848 has been marked as a duplicate of this issue. ***
Comment 15 t_h 2009-04-29 12:23:03 UTC
*** Issue 151389 has been marked as a duplicate of this issue. ***
Comment 16 t_h 2009-04-29 15:55:14 UTC
*** Issue 148903 has been marked as a duplicate of this issue. ***
Comment 17 laurin1 2009-05-01 15:44:12 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenAdded(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1091)
        at org.openide.nodes.EntrySupport$Default.notifyAdd(EntrySupport.java:685)
        at org.openide.nodes.EntrySupport$Default.updateAdd(EntrySupport.java:511)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:343)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1503)
Comment 18 laurin1 2009-05-01 15:44:19 UTC
Created attachment 81378 [details]
stacktrace
Comment 19 laurin1 2009-05-01 15:45:13 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenAdded(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1091)
        at org.openide.nodes.EntrySupport$Default.notifyAdd(EntrySupport.java:685)
        at org.openide.nodes.EntrySupport$Default.updateAdd(EntrySupport.java:511)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:343)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1503)
Comment 20 laurin1 2009-05-01 15:45:16 UTC
Created attachment 81379 [details]
stacktrace
Comment 21 stefan79 2009-05-05 16:40:31 UTC
Exception occured in Build 200905040001.
So i think, this isn´t really fixed.
Comment 22 ranbato 2009-05-05 17:28:26 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 
Debugging to a) try and fix my code, b) reproduce 164407

Stacktrace: 
java.lang.AssertionError: 
Event: org.openide.explorer.view.VisualizerEvent$Removed
Original event: org.openide.nodes.NodeMemberEvent
current vis. nodes:
Indexes: 0 1 2 3 4 
org.openide.nodes.NodeMemberEvent[node=org.netbeans.modules.viewmodel.TreeModelNode@a20f3e[Name=, displayName='httpSSLWorkerThread-8080-1' running], add=false
  0 at 0
  1 at 1
  2 at 2
  3 at 3
  4 at 4
]
curr. snapshot: java.util.Collections$EmptyList
[]
prev. snapshot: org.openide.nodes.EntrySupport$Default$DefaultSnapshot
[org.netbeans.modules.viewmodel.TreeModelNode@1085181[Name=, displayName=DHMessages.sendJMSMessageToDHSynchronous:85], org.netbeans.modules.viewmodel.TreeModelNode@11f18ca[Name=, displayName=DHMessages.sendSynchronousMessage:56], org.netbeans.modules.viewmodel.TreeModelNode@13a54ff[Name=, displayName=Hidden Source Calls], org.netbeans.modules.viewmodel.TreeModelNode@94a89d[Name=, displayName=Method.invoke:597], org.netbeans.modules.viewmodel.TreeModelNode@a2436a[Name=, displayName=Hidden Source Calls]]
        at org.openide.explorer.view.VisualizerChildren.removed(VisualizerChildren.java:249)
        at org.openide.explorer.view.VisualizerEvent$Removed.run(VisualizerEvent.java:132)
        at org.openide.util.Mutex.readAccess(Mutex.java:362)
        at org.openide.util.Mutex$1R.run(Mutex.java:1301)
        at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1810)
        at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1320)
Comment 23 ranbato 2009-05-05 17:28:36 UTC
Created attachment 81580 [details]
stacktrace
Comment 24 goeh 2009-05-06 22:42:49 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 
Switched from Firefox to NetBeans 6.7 beta with Alt-TAB on windows.
Exception was there when I came back. A .gsp file was open in the editor.

Stacktrace: 
java.lang.AssertionError: visnodes.size()=3 snapshot.size()=2
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:87)
        at org.openide.explorer.view.VisualizerChildren.getIndex(VisualizerChildren.java:153)
        at org.openide.explorer.view.VisualizerNode.getIndex(VisualizerNode.java:289)
        at javax.swing.tree.DefaultTreeModel.getIndexOfChild(DefaultTreeModel.java:142)
        at javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.createChildFor(FixedHeightLayoutCache.java:953)
        at javax.swing.tree.FixedHeightLayoutCache.getNodeForPath(FixedHeightLayoutCache.java:701)
Comment 25 goeh 2009-05-06 22:42:54 UTC
Created attachment 81694 [details]
stacktrace
Comment 26 gwimag 2009-05-08 18:12:00 UTC
This issue was originally marked as duplicate of issue 148168, that is already fixed. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 
Debuging application

Stacktrace: 
java.lang.AssertionError: visnodes.size()=1 snapshot.size()=62
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:87)
        at org.openide.explorer.view.VisualizerChildren.added(VisualizerChildren.java:223)
        at org.openide.explorer.view.VisualizerEvent$Added.run(VisualizerEvent.java:107)
        at org.openide.util.Mutex.readAccess(Mutex.java:362)
        at org.openide.util.Mutex$1R.run(Mutex.java:1301)
        at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1810)
Comment 27 gwimag 2009-05-08 18:12:10 UTC
Created attachment 81827 [details]
stacktrace
Comment 28 swpalmer 2009-05-11 16:02:08 UTC
Build: NetBeans IDE Dev (Build 200905110201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 
Stepped to next line after hitting a breakpoint in my Java code.  First debug run after installing this build (200905110201)

Stacktrace: 
java.lang.AssertionError: 
Event: org.openide.explorer.view.VisualizerEvent$Removed
Original event: org.openide.nodes.NodeMemberEvent
current vis. nodes:
Indexes: 0 
org.openide.nodes.NodeMemberEvent[node=org.netbeans.modules.viewmodel.TreeModelNode@f638c7[Name=, displayName='AWT-EventQueue-0' suspended at 'DarwinSessionAdapter.extractToModel:85'], add=false
  0 at 0 = org.netbeans.modules.viewmodel.TreeModelNode@112c071[Name=, displayName=DarwinSessionAdapter.extractToModel:82]
]
curr. snapshot: org.openide.nodes.EntrySupport$Default$DefaultSnapshot
[org.netbeans.modules.viewmodel.TreeModelNode@1c8cbe9[Name=, displayName=OutputManager.extractFieldValues:560], org.netbeans.modules.viewmodel.TreeModelNode@13cd65d[Name=, displayName=OutputManager.restoreOutputState:119], org.netbeans.modules.viewmodel.TreeModelNode@10ee2bb[Name=, displayName=StreamLiveFSApp$8.propertyChange:1029], org.netbeans.modules.viewmodel.TreeModelNode@5dbd19[Name=, displayName=PropertyChangeSupport.firePropertyChange:339], org.netbeans.m
        at org.openide.explorer.view.VisualizerChildren.removed(VisualizerChildren.java:249)
        at org.openide.explorer.view.VisualizerEvent$Removed.run(VisualizerEvent.java:132)
        at org.openide.util.Mutex.readAccess(Mutex.java:362)
        at org.openide.util.Mutex$1R.run(Mutex.java:1301)
        at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1810)
        at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1320)
Comment 29 swpalmer 2009-05-11 16:02:17 UTC
Created attachment 81908 [details]
stacktrace
Comment 30 nleck 2009-05-14 09:29:19 UTC
Build: NetBeans IDE Dev (Build 200905101401)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.27.21-170.2.56.fc10.x86_64, amd64

User Comments: 
debuging

Stacktrace: 
java.lang.AssertionError: 
Event: org.openide.explorer.view.VisualizerEvent$Removed
Original event: org.openide.nodes.NodeMemberEvent
current vis. nodes:
Indexes: 0 1 2 3 4 5 6 7 8 
org.openide.nodes.NodeMemberEvent[node=org.netbeans.modules.viewmodel.TreeModelNode@7563dedf[Name=, displayName='testLayer' running], add=false
  0 at 0
  1 at 1
  2 at 2
  3 at 3
  4 at 4
  5 at 5
  6 at 6
  7 at 7
  8 at 8
]
curr. snapshot: java.util.Collections$EmptyList
[]
prev. snapshot: org.openide.nodes.EntrySupport$Default$DefaultSnapshot
[org.netbeans.modules.viewmodel.TreeModelNode@2a5355d4[Name=, displayName=DBIndex.storeVersionList:107], org.netbeans.modules.viewmodel.TreeModelNode@4527e701[Name=, displayName=DBObjectHelper.writeCreatedRecord:519], org.netbeans.modules.viewmodel.TreeModelNode@3eaf161f[Name=, displayName=DBObjectHelper.iCollectStatements:434], org.netbeans.modules.viewmodel.TreeModelNode@58d56d5f[Name=, displayName=DBObject.iCollectStatements:4751], org.netbeans.modules.viewmodel.TreeModelNode@23ffa589[
        at org.openide.explorer.view.VisualizerChildren.removed(VisualizerChildren.java:249)
        at org.openide.explorer.view.VisualizerEvent$Removed.run(VisualizerEvent.java:132)
        at org.openide.util.Mutex.readAccess(Mutex.java:362)
        at org.openide.util.Mutex$1R.run(Mutex.java:1301)
        at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1810)
        at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1320)
Comment 31 nleck 2009-05-14 09:29:31 UTC
Created attachment 82096 [details]
stacktrace
Comment 32 laurin1 2009-05-14 20:55:43 UTC
Build: NetBeans IDE Dev (Build 200905010201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenAdded(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1091)
        at org.openide.nodes.EntrySupport$Default.notifyAdd(EntrySupport.java:685)
        at org.openide.nodes.EntrySupport$Default.updateAdd(EntrySupport.java:511)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:343)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1503)
Comment 33 laurin1 2009-05-14 20:55:50 UTC
Created attachment 82155 [details]
stacktrace
Comment 34 t_h 2009-05-19 14:33:19 UTC
If anyone can reproduce please enable finer logging for nodes and explorer and attach log file. Finer logging can be
enabled via command line arguments: -J-Dorg.openide.nodes.level=100 -J-Dorg.openide.explorer.level=100
Comment 35 malakim 2009-05-19 14:39:04 UTC
Build: NetBeans IDE Dev (Build 200905181401)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 
Editing a JSPX file

Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenAdded(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1093)
        at org.openide.nodes.EntrySupport$Default.notifyAdd(EntrySupport.java:685)
        at org.openide.nodes.EntrySupport$Default.updateAdd(EntrySupport.java:511)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:343)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1503)
Comment 36 malakim 2009-05-19 14:39:11 UTC
Created attachment 82399 [details]
stacktrace
Comment 37 t_h 2009-05-19 14:54:06 UTC
Probably it happens in situation when Navigator window is often refreshing (editing html, jsp, php files).
Comment 38 swpalmer 2009-05-19 21:42:18 UTC
Build: NetBeans IDE Dev (Build 200905190201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 
Stepping in debugger

Stacktrace: 
java.lang.AssertionError: 
Event: org.openide.explorer.view.VisualizerEvent$Removed
Original event: org.openide.nodes.NodeMemberEvent
current vis. nodes:
Indexes: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 
org.openide.nodes.NodeMemberEvent[node=org.netbeans.modules.viewmodel.TreeModelNode@c9beea[Name=, displayName='AWT-EventQueue-0' running], add=false
  0 at 0
  1 at 1
  2 at 2
  3 at 3
  4 at 4
  5 at 5
  6 at 6
  7 at 7
  8 at 8
  9 at 9
  10 at 10
  11 at 11
  12 at 12
  13 at 13
  14 at 14
  15 at 15
  16 at 16
  17 at 17
  18 at 18
  19 at 19
  20 at 20
  21 at 21
  22 at 22
  23 at 23
  24 at 24
  25 at 25
  26 at 26
  27 at 27
  28 at 28
  29 at 29
  30 at 30
  31 at 31
  32 at 32
  33 at 33
  34 at 34
  35 at 35
  36 at 36
  37 at 37
  38 at 38
  39 at 39
  40 at 40
  41 at 41
  42 at 42
]
curr. snapshot: java.util.Collections$EmptyList
[]
prev. snapshot: org.openide.nodes.EntrySupport$Default$DefaultSnapshot
[org.netbeans.m
        at org.openide.explorer.view.VisualizerChildren.removed(VisualizerChildren.java:249)
        at org.openide.explorer.view.VisualizerEvent$Removed.run(VisualizerEvent.java:132)
        at org.openide.util.Mutex.readAccess(Mutex.java:362)
        at org.openide.util.Mutex$1R.run(Mutex.java:1301)
        at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1810)
        at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1320)
Comment 39 swpalmer 2009-05-19 21:42:27 UTC
Created attachment 82431 [details]
stacktrace
Comment 40 aldobrucale 2009-05-20 11:42:13 UTC
Build: NetBeans IDE Dev (Build 200905200201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-11-generic, i386

User Comments: 
debugging java app

Stacktrace: 
java.lang.AssertionError: 
Event: org.openide.explorer.view.VisualizerEvent$Removed
Original event: org.openide.nodes.NodeMemberEvent
current vis. nodes:
Indexes: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 
org.openide.nodes.NodeMemberEvent[node=org.netbeans.modules.viewmodel.TreeModelNode@3e02be[Name=, displayName='AWT-EventQueue-1' at line breakpoint EventDisplayerFactoryProvider.java : 27], add=false
  0 at 0 = org.netbeans.modules.viewmodel.TreeModelNode@b485ee[Name=, displayName=EventDisplayerFactoryProvider.<init>:27]
  1 at 1 = org.netbeans.modules.viewmodel.TreeModelNode@1c4df15[Name=, displayName=EventDisplayerFactoryProvider.getInstance:21]
  2 at 2 = org.netbeans.modules.viewmodel.TreeModelNode@120082[Name=, displayName=EventDetailTopComponent$DispayerFetcher.apply:142]
  3 at 3 = org.netbeans.modules.viewmodel.TreeModelNode@1df7ed8[Name=, displayName=EventDetailTopComponent$DispayerFetcher.apply:139]
  4 at 4 = org.netbean
        at org.openide.explorer.view.VisualizerChildren.removed(VisualizerChildren.java:249)
        at org.openide.explorer.view.VisualizerEvent$Removed.run(VisualizerEvent.java:132)
        at org.openide.util.Mutex.readAccess(Mutex.java:362)
        at org.openide.util.Mutex$1R.run(Mutex.java:1301)
        at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1810)
        at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1320)
Comment 41 aldobrucale 2009-05-20 11:42:25 UTC
Created attachment 82470 [details]
stacktrace
Comment 42 swpalmer 2009-05-21 18:55:31 UTC
Build: NetBeans IDE Dev (Build 200905200201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 
stepping in debugger

Stacktrace: 
java.lang.AssertionError: 
Event: org.openide.explorer.view.VisualizerEvent$Removed
Original event: org.openide.nodes.NodeMemberEvent
current vis. nodes:
Indexes: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
org.openide.nodes.NodeMemberEvent[node=org.netbeans.modules.viewmodel.TreeModelNode@a85e18[Name=, displayName='AWT-EventQueue-0' at line breakpoint JList.java : 2,288], add=false
  0 at 0 = org.netbeans.modules.viewmodel.TreeModelNode@10a82d4[Name=, displayName=ProjectSelectionPanel$1.propertyChange:40]
  1 at 1 = org.netbeans.modules.viewmodel.TreeModelNode@1134ca1[Name=, displayName=PropertyChangeSupport.firePropertyChange:339]
  2 at 2 = org.netbeans.modules.viewmodel.TreeModelNode@c0488[Name=, displayName=PropertyChangeSupport.firePropertyChange:347]
  3 at 3 = org.netbeans.modules.viewmodel.TreeModelNode@fdadfb[Name=, displayName=PropertyChangeSupport.firePropertyChange:276]
  4 at 4 = org.netbeans.modules.viewmodel.TreeModelNode@a954ea[Name=, displa
        at org.openide.explorer.view.VisualizerChildren.removed(VisualizerChildren.java:249)
        at org.openide.explorer.view.VisualizerEvent$Removed.run(VisualizerEvent.java:132)
        at org.openide.util.Mutex.readAccess(Mutex.java:362)
        at org.openide.util.Mutex$1R.run(Mutex.java:1301)
        at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1810)
        at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1320)
Comment 43 swpalmer 2009-05-21 18:55:37 UTC
Created attachment 82579 [details]
stacktrace
Comment 44 matusdekanek 2009-06-08 15:10:31 UTC
cannot reproduce with
Product Version: NetBeans IDE 6.7 RC2 (Build 200906042131)
Java: 1.6.0_12; Java HotSpot(TM) Client VM 11.2-b01
System: Linux version 2.6.28-11-generic running on i386; UTF-8; en_US (nb), winXP as well
(editing html, jframe files)
WORKSFORME 
Comment 45 matusdekanek 2009-06-08 15:31:05 UTC
reopening as incomplete (instead worksforme)
Comment 46 pbelbin 2009-07-04 15:26:01 UTC
Build: NetBeans IDE Dev (Build 200907040200)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, amd64

User Comments: 
while I was editing a large php file, I removed a number of <tr> sections, and got repeated exception messages of this type.

Stacktrace: 
java.lang.AssertionError: visnodes.size()=2 snapshot.size()=1
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:87)
        at org.openide.explorer.view.VisualizerChildren.added(VisualizerChildren.java:223)
        at org.openide.explorer.view.VisualizerEvent$Added.run(VisualizerEvent.java:106)
        at org.openide.util.Mutex.readAccess(Mutex.java:362)
        at org.openide.util.Mutex$1R.run(Mutex.java:1301)
        at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1318)
Comment 47 pbelbin 2009-07-04 15:26:11 UTC
Created attachment 84362 [details]
stacktrace
Comment 48 johnsonlau 2009-07-13 03:27:34 UTC
This issue appears while I'm editting html file.
I zipped the message.log with -J-Dorg.openide.nodes.level=100 -J-Dorg.openide.explorer.level=100 options turned on,
and attached it here.
See if it is helpful.
Comment 49 johnsonlau 2009-07-13 03:28:44 UTC
Created attachment 84637 [details]
message.log with -J-Dorg.openide.nodes.level=100 -J-Dorg.openide.explorer.level=100 options turned on
Comment 50 t_h 2009-07-13 15:09:20 UTC
johnsonlau: thanks for reproducing with finer logging, it was really helpful. Fixed in core-main #65fe301f866e
Comment 51 Quality Engineering 2009-07-14 06:21:36 UTC
Integrated into 'main-golden', will be available in build *200907140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/65fe301f866e
User: Tomas Holy <t_h@netbeans.org>
Log: #160431: possible out of sync if nodes were obtained under Children.MUTEX lock while another thread was performing addNotify()