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 158328 - IllegalStateException: Some of a set of deleted nodes are not present in the original ones. See #15478; you may need to check that your Children.Keys keys are safely comparable. i: 1 j: 0 This: org.op
Summary: IllegalStateException: Some of a set of deleted nodes are not present in the ...
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Nodes (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker with 1 vote (vote)
Assignee: t_h
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
: 149209 164339 164391 166580 170223 170337 171146 171192 172152 175808 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-10 16:49 UTC by Kenneth Ganfield
Modified: 2009-11-12 09:46 UTC (History)
87 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144583


Attachments
stacktrace (2.91 KB, text/plain)
2009-02-10 16:49 UTC, Kenneth Ganfield
Details
stacktrace (4.54 KB, text/plain)
2009-03-02 13:54 UTC, monguz
Details
stacktrace (3.62 KB, text/plain)
2009-04-17 14:38 UTC, Michal Mocnak
Details
stacktrace (2.89 KB, text/plain)
2009-04-22 11:09 UTC, Michal Mocnak
Details
stacktrace (4.03 KB, text/plain)
2009-04-30 07:59 UTC, laurin1
Details
stacktrace (3.82 KB, text/plain)
2009-05-14 08:05 UTC, Michael Nazarov
Details
stacktrace (3.43 KB, text/plain)
2009-05-20 11:03 UTC, Jiri Prox
Details
stacktrace (3.53 KB, text/plain)
2009-06-17 14:59 UTC, malakim
Details
stacktrace (4.90 KB, text/plain)
2009-07-04 15:24 UTC, pbelbin
Details
stacktrace (3.63 KB, text/plain)
2009-07-10 07:39 UTC, malakim
Details
stacktrace (2.80 KB, text/plain)
2009-07-23 09:32 UTC, aldobrucale
Details
stacktrace (3.41 KB, text/plain)
2009-09-03 14:25 UTC, david68
Details
stacktrace (3.43 KB, text/plain)
2009-09-07 20:14 UTC, ecastro
Details
stacktrace (3.43 KB, text/plain)
2009-09-21 10:55 UTC, david68
Details
stacktrace (3.65 KB, text/plain)
2009-09-23 14:44 UTC, stefanv
Details
stacktrace (3.42 KB, text/plain)
2009-09-29 02:44 UTC, andreluizferreirapinto
Details
stacktrace (3.53 KB, text/plain)
2009-10-09 11:28 UTC, abajja
Details
stacktrace (3.43 KB, text/plain)
2009-10-14 20:48 UTC, jpleed3
Details
stacktrace (3.42 KB, text/plain)
2009-10-14 20:49 UTC, jpleed3
Details
stacktrace (4.22 KB, text/plain)
2009-10-15 15:40 UTC, david68
Details
stacktrace (3.65 KB, text/plain)
2009-10-20 09:53 UTC, nleck
Details
stacktrace (3.65 KB, text/plain)
2009-10-23 15:34 UTC, hjuskewycz
Details
stacktrace (3.33 KB, text/plain)
2009-11-01 18:50 UTC, amalc
Details
stacktrace (3.43 KB, text/plain)
2009-11-04 23:10 UTC, bingalls
Details
stacktrace (3.91 KB, text/plain)
2009-11-05 01:47 UTC, axlesoft
Details
stacktrace (3.65 KB, text/plain)
2009-11-12 02:25 UTC, hjuskewycz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Ganfield 2009-02-10 16:49:27 UTC
Build: NetBeans IDE Dev (Build 200902040232)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64

User Comments:
kganfield: browsing the Maven Repositories window

zepolar: When I tried to make click under netbeans reposity

GUEST: strg+v  ( html into a php file)

kganfield: browsing the Maven Repositories window



Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy6.childrenRemoved(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1084)
        at org.openide.nodes.EntrySupport$Default.notifyRemove(EntrySupport.java:657)
        at org.openide.nodes.EntrySupport$Default.updateRemove(EntrySupport.java:380)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:335)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1496)
Comment 1 Kenneth Ganfield 2009-02-10 16:49:45 UTC
Created attachment 76803 [details]
stacktrace
Comment 2 t_h 2009-02-12 10:07:05 UTC
I guess the problem is that GroupListChildren.createLoadingNode() is using same LOADING key to create different Nodes. I
think it should use either unique key or override equals(), hashCode() accordingly.
Comment 3 Milos Kleint 2009-02-12 10:33:38 UTC
reassigning back
Comment 4 monguz 2009-03-02 13:54:52 UTC
Build: NetBeans IDE Dev (Build 200902231810)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenRemoved(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1084)
        at org.openide.nodes.EntrySupport$Default.notifyRemove(EntrySupport.java:657)
        at org.openide.nodes.EntrySupport$Default.updateRemove(EntrySupport.java:380)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:335)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1502)
Comment 5 monguz 2009-03-02 13:54:56 UTC
Created attachment 77562 [details]
stacktrace
Comment 6 Michal Mocnak 2009-04-17 14:38:39 UTC
Build: NetBeans IDE Dev (Build 090416)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Linux, 2.6.26-2-686, i386

User Comments: 


Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenRemoved(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1093)
        at org.openide.nodes.EntrySupport$Default.notifyRemove(EntrySupport.java:647)
        at org.openide.nodes.EntrySupport$Default.updateRemove(EntrySupport.java:379)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:333)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1503)
Comment 7 Michal Mocnak 2009-04-17 14:38:43 UTC
Created attachment 80358 [details]
stacktrace
Comment 8 Michal Mocnak 2009-04-22 11:09:45 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904220001)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Linux, 2.6.26-2-686, i386

User Comments: 
Just trying to browser NetBeans maven repository

Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenRemoved(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1093)
        at org.openide.nodes.EntrySupport$Default.notifyRemove(EntrySupport.java:647)
        at org.openide.nodes.EntrySupport$Default.updateRemove(EntrySupport.java:379)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:333)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1503)
Comment 9 Michal Mocnak 2009-04-22 11:09:54 UTC
Created attachment 80675 [details]
stacktrace
Comment 10 t_h 2009-04-29 16:10:59 UTC
*** Issue 149209 has been marked as a duplicate of this issue. ***
Comment 11 laurin1 2009-04-30 07:59:16 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.childrenRemoved(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1093)
        at org.openide.nodes.EntrySupport$Default.notifyRemove(EntrySupport.java:647)
        at org.openide.nodes.EntrySupport$Default.updateRemove(EntrySupport.java:379)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:333)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1503)
Comment 12 laurin1 2009-04-30 07:59:20 UTC
Created attachment 81273 [details]
stacktrace
Comment 13 t_h 2009-05-04 08:29:54 UTC
*** Issue 164339 has been marked as a duplicate of this issue. ***
Comment 14 t_h 2009-05-05 16:15:00 UTC
*** Issue 164391 has been marked as a duplicate of this issue. ***
Comment 15 t_h 2009-05-06 14:12:02 UTC
Added some asserts to help investigate in core-main #28ac6c2fe563.
Comment 16 Michael Nazarov 2009-05-14 08:04:58 UTC
Build: NetBeans IDE Dev (Build 200905131401)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02
OS: Windows XP, 5.1, x86

User Comments: 
I used Drag-n-drop for simple editing of jsp file in Web-application.

Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenRemoved(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1095)
        at org.openide.nodes.EntrySupport$Default.notifyRemove(EntrySupport.java:647)
        at org.openide.nodes.EntrySupport$Default.updateRemove(EntrySupport.java:379)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:333)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1503)
Comment 17 Michael Nazarov 2009-05-14 08:05:10 UTC
Created attachment 82091 [details]
stacktrace
Comment 18 t_h 2009-05-19 14:33:04 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 19 t_h 2009-05-19 14:54:32 UTC
Probably it happens in situation when Navigator window is often refreshing (editing html, jsp, php files).
Comment 20 Jiri Prox 2009-05-20 11:03:16 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: Linux, 2.6.24-23-generic, i386

User Comments: 
ISE when applied code template

Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenRemoved(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1095)
        at org.openide.nodes.EntrySupport$Default.notifyRemove(EntrySupport.java:647)
        at org.openide.nodes.EntrySupport$Default.updateRemove(EntrySupport.java:379)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:333)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1503)
Comment 21 Jiri Prox 2009-05-20 11:03:31 UTC
Created attachment 82463 [details]
stacktrace
Comment 22 matusdekanek 2009-06-08 15:31:52 UTC
cannot reproduce by editing an html file. does not seem to be caused by the navigator window. 
leaving as incomplete
Comment 23 malakim 2009-06-17 14:59:03 UTC
Build: NetBeans IDE 6.7 RC3 (Build 200906142201)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows Vista, 6.0, x86

User Comments: 
Pasting cut-out code into jspx page

Stacktrace: 
java.lang.IllegalStateException: Some of a set of deleted nodes are not present in the original ones.
See #15478; you may need to check that your Children.Keys keys are safely comparable.
i: 1
j: 0
This: org.openide.nodes.NodeMemberEvent[node=org.netbeans.modules.csl.navigation.ElementNode@33ece0[Name=, displayName=div], add=false
  0 at 0 = org.netbeans.modules.csl.navigation.ElementNode@e437c1[Name=, displayName=a]
]
curr. snapshot: org.openide.nodes.EntrySupport$Default$DefaultSnapshot
[]
prev. snapshot: java.util.Arrays$ArrayList
[org.netbeans.modules.csl.navigation.ElementNode@1945bb8[Name=, displayName=a]]
Current state:
[org.netbeans.modules.csl.navigation.ElementNode@1945bb8[Name=, displayName=a]]
Delta:
[org.netbeans.modules.csl.navigation.ElementNode@e437c1[Name=, displayName=a]]
        at org.openide.nodes.NodeMemberEvent.getDeltaIndices(NodeMemberEvent.java:176)
        at org.openide.explorer.view.VisualizerNode.childrenRemoved(VisualizerNode.java:371)
        at sun.reflect.GeneratedMethodAccessor237.invoke(GeneratedMethodAccessor237.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:451)
Comment 24 malakim 2009-06-17 14:59:11 UTC
Created attachment 83703 [details]
stacktrace
Comment 25 pbelbin 2009-07-04 15:23:59 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.

Stacktrace: 
java.lang.IllegalStateException: Some of a set of deleted nodes are not present in the original ones.
See #15478; you may need to check that your Children.Keys keys are safely comparable.
i: 1
j: 0
This: org.openide.nodes.NodeMemberEvent[node=org.netbeans.modules.csl.navigation.ElementNode@5362b828[Name=, displayName=td], add=false
  0 at 0 = org.netbeans.modules.csl.navigation.ElementNode@4b1776d0[Name=, displayName=table]
]
curr. snapshot: org.openide.nodes.EntrySupport$Default$DefaultSnapshot
[]
prev. snapshot: java.util.Arrays$ArrayList
[org.netbeans.modules.csl.navigation.ElementNode@18cfa88b[Name=, displayName=table]]
Current state:
[org.netbeans.modules.csl.navigation.ElementNode@18cfa88b[Name=, displayName=table]]
Delta:
[org.netbeans.modules.csl.navigation.ElementNode@4b1776d0[Name=, displayName=table]]
        at org.openide.nodes.NodeMemberEvent.getDeltaIndices(NodeMemberEvent.java:176)
        at org.openide.explorer.view.VisualizerNode.childrenRemoved(VisualizerNode.java:372)
        at sun.reflect.GeneratedMethodAccessor73.invoke(GeneratedMethodAccessor73.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:451)
Comment 26 pbelbin 2009-07-04 15:24:10 UTC
Created attachment 84361 [details]
stacktrace
Comment 27 Exceptions Reporter 2009-07-06 14:40:51 UTC
This issue already has 300 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144583
Comment 28 Exceptions Reporter 2009-07-07 10:46:40 UTC
This issue already has 301 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144583
Comment 29 malakim 2009-07-10 07:39:45 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows Vista, 6.0, x86

User Comments: 
Reverting changes to a JSPX file from SVN

Stacktrace: 
java.lang.IllegalStateException: Some of a set of deleted nodes are not present in the original ones.
See #15478; you may need to check that your Children.Keys keys are safely comparable.
i: 1
j: 0
This: org.openide.nodes.NodeMemberEvent[node=org.netbeans.modules.csl.navigation.ElementNode@76f709[Name=, displayName=td], add=false
  0 at 0 = org.netbeans.modules.csl.navigation.ElementNode@1a7dca4[Name=, displayName=div]
]
curr. snapshot: org.openide.nodes.EntrySupport$Default$DefaultSnapshot
[]
prev. snapshot: java.util.Arrays$ArrayList
[org.netbeans.modules.csl.navigation.ElementNode@162ec7[Name=, displayName=div]]
Current state:
[org.netbeans.modules.csl.navigation.ElementNode@162ec7[Name=, displayName=div]]
Delta:
[org.netbeans.modules.csl.navigation.ElementNode@1a7dca4[Name=, displayName=div]]
        at org.openide.nodes.NodeMemberEvent.getDeltaIndices(NodeMemberEvent.java:176)
        at org.openide.explorer.view.VisualizerNode.childrenRemoved(VisualizerNode.java:371)
        at sun.reflect.GeneratedMethodAccessor190.invoke(GeneratedMethodAccessor190.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:451)
Comment 30 malakim 2009-07-10 07:39:54 UTC
Created attachment 84574 [details]
stacktrace
Comment 31 aldobrucale 2009-07-23 09:31:59 UTC
Build: NetBeans IDE 6.7.1 RC (Build 200907150227)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments: 
(probably) deleting a maven project

Stacktrace: 
java.lang.IllegalStateException: Some of a set of deleted nodes are not present in the original ones.
See #15478; you may need to check that your Children.Keys keys are safely comparable.
i: 1
j: 0
This: org.openide.nodes.NodeMemberEvent[node=org.netbeans.modules.maven.repository.RepositoryNode@ab8583[Name=netbeans, displayName=NetBeans Repository], add=false
  0 at 0 = org.netbeans.modules.maven.repository.GroupListChildren$1@1fb4483[Name=Loading, displayName=Loading...]
]
curr. snapshot: org.openide.nodes.EntrySupport$Default$DefaultSnapshot
[]
prev. snapshot: java.util.Arrays$ArrayList
[org.netbeans.modules.maven.repository.GroupListChildren$1@676aad[Name=Loading, displayName=Loading...]]
Current state:
[org.netbeans.modules.maven.repository.GroupListChildren$1@676aad[Name=Loading, displayName=Loading...]]
Delta:
[org.netbeans.modules.maven.repository.GroupListChildren$1@1fb4483[Name=Loading, displayName=Loading...]]
        at org.openide.nodes.NodeMemberEvent.getDeltaIndices(NodeMemberEvent.java:176)
        at org.openide.explorer.view.VisualizerNode.childrenRemoved(VisualizerNode.java:372)
        at sun.reflect.GeneratedMethodAccessor94.invoke(GeneratedMethodAccessor94.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:451)
Comment 32 aldobrucale 2009-07-23 09:32:10 UTC
Created attachment 85106 [details]
stacktrace
Comment 33 Exceptions Reporter 2009-08-05 01:53:34 UTC
This issue already has 354 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144583
Comment 34 t_h 2009-08-17 09:08:32 UTC
*** Issue 170337 has been marked as a duplicate of this issue. ***
Comment 35 t_h 2009-08-17 10:47:31 UTC
*** Issue 170223 has been marked as a duplicate of this issue. ***
Comment 36 t_h 2009-08-17 10:49:54 UTC
*** Issue 166580 has been marked as a duplicate of this issue. ***
Comment 37 Exceptions Reporter 2009-08-26 18:56:05 UTC
This issue already has 450 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144583
Comment 38 t_h 2009-08-31 09:26:32 UTC
*** Issue 171146 has been marked as a duplicate of this issue. ***
Comment 39 david68 2009-09-03 14:25:36 UTC
This issue was originally marked as duplicate of issue 160431, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200908022240)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments: 
when editing

Stacktrace: 
java.lang.AssertionError: visnodes.size()=4 snapshot.size()=3
        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 40 david68 2009-09-03 14:25:45 UTC
Created attachment 87051 [details]
stacktrace
Comment 41 t_h 2009-09-04 16:59:09 UTC
*** Issue 171192 has been marked as a duplicate of this issue. ***
Comment 42 ecastro 2009-09-07 20:14:32 UTC
This issue was originally marked as duplicate of issue 160431, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200908022240)
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: 
Pasting "final ObjectStream<Question> answerQueue = new ObjectStream<Question>();"
in a Java file where nor ObjectStream, nor Question are defined.

Stacktrace: 
java.lang.AssertionError: visnodes.size()=10 snapshot.size()=9
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:87)
        at org.openide.explorer.view.VisualizerChildren.removed(VisualizerChildren.java:256)
        at org.openide.explorer.view.VisualizerEvent$Removed.run(VisualizerEvent.java:131)
        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 43 ecastro 2009-09-07 20:14:43 UTC
Created attachment 87244 [details]
stacktrace
Comment 44 Exceptions Reporter 2009-09-09 07:21:15 UTC
This issue already has 504 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144583
Comment 45 t_h 2009-09-14 13:53:37 UTC
*** Issue 172152 has been marked as a duplicate of this issue. ***
Comment 46 wgcrouch 2009-09-17 16:03:51 UTC
This issue was originally marked as duplicate of issue 160431, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200908022240)
VM: OpenJDK Client VM, 14.0-b16, OpenJDK Runtime Environment, 1.6.0_0-b16
OS: Linux, 2.6.30.5-43.fc11.i586, i386

User Comments: 
Editing a php class constant in the editor. Had just typed the word const

Stacktrace: 
java.lang.AssertionError: visnodes.size()=62 snapshot.size()=37
        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 david68 2009-09-21 10:55:45 UTC
This issue was originally marked as duplicate of issue 160431, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200908022240)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments: 
While using project navigator : deploying a node

Stacktrace: 
java.lang.AssertionError: visnodes.size()=15 snapshot.size()=0
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:87)
        at org.openide.explorer.view.VisualizerChildren.removed(VisualizerChildren.java:256)
        at org.openide.explorer.view.VisualizerEvent$Removed.run(VisualizerEvent.java:131)
        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 48 david68 2009-09-21 10:55:55 UTC
Created attachment 88008 [details]
stacktrace
Comment 49 stefanv 2009-09-23 14:44:18 UTC
This issue was originally marked as duplicate of issue 160431, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200909221401)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.28-15-generic, i386

User Comments: 
Started typing php in a html file

Stacktrace: 
java.lang.AssertionError: visnodes.size()=22 snapshot.size()=3
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:88)
        at org.openide.explorer.view.VisualizerChildren.getIndex(VisualizerChildren.java:154)
        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 50 stefanv 2009-09-23 14:44:28 UTC
Created attachment 88198 [details]
stacktrace
Comment 51 Exceptions Reporter 2009-09-24 07:44:47 UTC
This issue already has 554 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144583
Comment 52 andreluizferreirapinto 2009-09-29 02:44:43 UTC
This issue was originally marked as duplicate of issue 160431, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200908022240)
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: 
I copied and pasted some code in a jUnit test.

Stacktrace: 
java.lang.AssertionError: visnodes.size()=12 snapshot.size()=11
        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 53 andreluizferreirapinto 2009-09-29 02:44:54 UTC
Created attachment 88462 [details]
stacktrace
Comment 54 abajja 2009-10-09 11:27:58 UTC
Build: NetBeans IDE Dev (Build 200910071536)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.IllegalStateException: Some of a set of deleted nodes are not present in the original ones.
See #15478; you may need to check that your Children.Keys keys are safely comparable.
i: 1
j: 0
This: org.openide.nodes.NodeMemberEvent[node=org.netbeans.modules.csl.navigation.ElementNode@d0fd47[Name=, displayName=div], add=false
  0 at 0 = org.netbeans.modules.csl.navigation.ElementNode@ad956f[Name=, displayName=p]
]
curr. snapshot: org.openide.nodes.EntrySupport$Default$DefaultSnapshot
[]
prev. snapshot: java.util.Arrays$ArrayList
[org.netbeans.modules.csl.navigation.ElementNode@1cb9d33[Name=, displayName=p]]
Current state:
[org.netbeans.modules.csl.navigation.ElementNode@1cb9d33[Name=, displayName=p]]
Delta:
[org.netbeans.modules.csl.navigation.ElementNode@ad956f[Name=, displayName=p]]
        at org.openide.nodes.NodeMemberEvent.getDeltaIndices(NodeMemberEvent.java:176)
        at org.openide.explorer.view.VisualizerNode.childrenRemoved(VisualizerNode.java:372)
        at sun.reflect.GeneratedMethodAccessor37.invoke(GeneratedMethodAccessor37.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:451)
Comment 55 abajja 2009-10-09 11:28:11 UTC
Created attachment 89176 [details]
stacktrace
Comment 56 Exceptions Reporter 2009-10-09 11:28:23 UTC
This issue already has 601 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144583
Comment 57 jpleed3 2009-10-14 20:48:26 UTC
This issue was originally marked as duplicate of issue 160431, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200910071536)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments: 
Opening facelets file

Stacktrace: 
java.lang.AssertionError: visnodes.size()=2 snapshot.size()=0
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:88)
        at org.openide.explorer.view.VisualizerChildren.removed(VisualizerChildren.java:257)
        at org.openide.explorer.view.VisualizerEvent$Removed.run(VisualizerEvent.java:131)
        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 58 jpleed3 2009-10-14 20:48:36 UTC
Created attachment 89479 [details]
stacktrace
Comment 59 jpleed3 2009-10-14 20:49:20 UTC
Build: NetBeans IDE Dev (Build 200910071536)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments: 
Opening a facelets file

Stacktrace: 
java.lang.AssertionError: visnodes.size()=4 snapshot.size()=2
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:88)
        at org.openide.explorer.view.VisualizerChildren.added(VisualizerChildren.java:224)
        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 60 jpleed3 2009-10-14 20:49:29 UTC
Created attachment 89480 [details]
stacktrace
Comment 61 david68 2009-10-15 15:40:28 UTC
This issue was originally marked as duplicate of issue 160431, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE 6.8 M2 (Build 200910071658)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments: 
when editing HTML code

Stacktrace: 
java.lang.AssertionError: visnodes.size()=4 snapshot.size()=3
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:88)
        at org.openide.explorer.view.VisualizerChildren.getIndex(VisualizerChildren.java:154)
        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 62 david68 2009-10-15 15:40:37 UTC
Created attachment 89554 [details]
stacktrace
Comment 63 Exceptions Reporter 2009-10-16 17:09:36 UTC
This issue already has 651 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144583
Comment 64 nleck 2009-10-20 09:53:23 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910022101)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.30.8-64.fc11.x86_64, amd64

User Comments: 
rename of method

Stacktrace: 
java.lang.IllegalStateException: Some of a set of deleted nodes are not present in the original ones.
See #15478; you may need to check that your Children.Keys keys are safely comparable.
i: 42
j: 0
This: org.openide.nodes.NodeMemberEvent[node=org.netbeans.modules.java.navigation.ElementNode@4094ac9c[Name=, displayName=DataResultScrollerV1], add=false
  0 at 0 = org.netbeans.modules.java.navigation.ElementNode@8874ac7[Name=, displayName=DataResultScroller]
]
curr. snapshot: org.openide.nodes.EntrySupport$Default$DefaultSnapshot
[org.netbeans.modules.java.navigation.ElementNode@1da9f87c[Name=, displayName=close], org.netbeans.modules.java.navigation.ElementNode@1f8a41b[Name=, displayName=getClassGID], org.netbeans.modules.java.navigation.ElementNode@6adde99f[Name=, displayName=getDeletedMS], org.netbeans.modules.java.navigation.ElementNode@f14fc89[Name=, displayName=getFieldGID], org.netbeans.modules.java.navigation.ElementNode@2acf8e1b[Name=, displayName=getLanguage], org.netbeans.modules.java.navigation.Elem
        at org.openide.nodes.NodeMemberEvent.getDeltaIndices(NodeMemberEvent.java:176)
        at org.openide.explorer.view.VisualizerNode.childrenRemoved(VisualizerNode.java:372)
        at sun.reflect.GeneratedMethodAccessor382.invoke(GeneratedMethodAccessor382.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:451)
Comment 65 nleck 2009-10-20 09:53:38 UTC
Created attachment 89742 [details]
stacktrace
Comment 66 hjuskewycz 2009-10-23 15:33:40 UTC
Build: NetBeans IDE Dev (Build 200910170201)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-90, Java(TM) SE Runtime Environment, 1.6.0_15-b03-219
OS: Mac OS X, 10.6.1, x86_64

User Comments: 


Stacktrace: 
java.lang.IllegalStateException: Some of a set of deleted nodes are not present in the original ones.
See #15478; you may need to check that your Children.Keys keys are safely comparable.
i: 22
j: 21
This: org.openide.nodes.NodeMemberEvent[node=org.netbeans.modules.csl.navigation.ElementNode@619f74b3[Name=, displayName=Ruby], add=false
  0 at 1 = org.netbeans.modules.csl.navigation.ElementNode@2f2d4ff6[Name=, displayName=form_for]
  1 at 2 = org.netbeans.modules.csl.navigation.ElementNode@47dcb7ac[Name=, displayName=form_row]
  2 at 3 = org.netbeans.modules.csl.navigation.ElementNode@6b9ea20f[Name=, displayName=form_row]
  3 at 4 = org.netbeans.modules.csl.navigation.ElementNode@7ba1bdfb[Name=, displayName=form_row]
  4 at 5 = org.netbeans.modules.csl.navigation.ElementNode@37bfe926[Name=, displayName=form_row]
  5 at 6 = org.netbeans.modules.csl.navigation.ElementNode@1863da62[Name=, displayName=expiration]
  6 at 7 = org.netbeans.modules.csl.navigation.ElementNode@43966470[Name=, displayName=form_row]
  7 a
        at org.openide.nodes.NodeMemberEvent.getDeltaIndices(NodeMemberEvent.java:176)
        at org.openide.explorer.view.VisualizerNode.childrenRemoved(VisualizerNode.java:372)
        at sun.reflect.GeneratedMethodAccessor60.invoke(GeneratedMethodAccessor60.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:451)
Comment 67 hjuskewycz 2009-10-23 15:34:37 UTC
Created attachment 89981 [details]
stacktrace
Comment 68 Exceptions Reporter 2009-10-30 10:59:18 UTC
This issue already has 753 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144583
Comment 69 amalc 2009-11-01 18:49:46 UTC
This issue was originally marked as duplicate of issue 160431, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE 6.8 Beta (Build 200910212001)
VM: Java HotSpot(TM) Client VM, 1.5.0_20-141, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_20-b02-315
OS: Mac OS X, 10.5.8, i386

User Comments: 
Closed and Discard and editor session on a file.

Stacktrace: 
java.lang.AssertionError: visnodes.size()=16 snapshot.size()=8
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:88)
        at org.openide.explorer.view.VisualizerChildren.added(VisualizerChildren.java:224)
        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 70 amalc 2009-11-01 18:50:01 UTC
Created attachment 90386 [details]
stacktrace
Comment 71 t_h 2009-11-02 12:27:52 UTC
*** Issue 175808 has been marked as a duplicate of this issue. ***
Comment 72 bingalls 2009-11-04 23:10:20 UTC
This issue was originally marked as duplicate of issue 160431, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE 6.8 Beta (Build 200910221137)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.31-14-generic, i386

User Comments: 
php doc and navigating to declarations

Stacktrace: 
java.lang.AssertionError: visnodes.size()=38 snapshot.size()=29
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:88)
        at org.openide.explorer.view.VisualizerChildren.removed(VisualizerChildren.java:257)
        at org.openide.explorer.view.VisualizerEvent$Removed.run(VisualizerEvent.java:131)
        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 73 bingalls 2009-11-04 23:10:30 UTC
Created attachment 90502 [details]
stacktrace
Comment 74 axlesoft 2009-11-05 01:47:21 UTC
This issue was originally marked as duplicate of issue 148168, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE 6.8 Beta (Build 200910212001)
VM: Java HotSpot(TM) Client VM, 1.5.0_20-141, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_20-b02-315
OS: Mac OS X, 10.5.8, i386

User Comments: 
Constant popups when trying to edit a simple java file

Stacktrace: 
java.lang.AssertionError: visnodes.size()=779 snapshot.size()=418
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:88)
        at org.openide.explorer.view.VisualizerChildren.getIndex(VisualizerChildren.java:154)
        at org.openide.explorer.view.VisualizerNode.getIndex(VisualizerNode.java:289)
        at javax.swing.tree.DefaultTreeModel.getIndexOfChild(DefaultTreeModel.java:142)
        at javax.swing.tree.FixedHeightLayoutCache.getRowForPath(FixedHeightLayoutCache.java:217)
        at javax.swing.tree.AbstractLayoutCache.getRowsForPaths(AbstractLayoutCache.java:443)
Comment 75 axlesoft 2009-11-05 01:47:34 UTC
Created attachment 90503 [details]
stacktrace
Comment 76 hjuskewycz 2009-11-12 02:25:18 UTC
Created attachment 90878 [details]
stacktrace