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.
I have received the following problem: java.lang.IndexOutOfBoundsException: Index: 2, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:571) at java.util.ArrayList.remove(ArrayList.java:412) at org.openide.explorer.view.VisualizerChildren.removed(VisualizerChildren.java:256) at org.openide.explorer.view.VisualizerEvent$Removed.run(VisualizerEvent.java:134) at org.openide.util.Mutex.readAccess(Mutex.java:365) at org.openide.util.Mutex$1R.run(Mutex.java:1307) at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1835) at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1326) at org.openide.util.Mutex.readAccess(Mutex.java:354) [catch] at org.openide.explorer.view.VisualizerNode$QP.run(VisualizerNode.java:688) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at java.awt.EventQueue.dispatchEvent(EventQueue.java:602) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:137) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) It was occurred during project opening. This happens very rarely, and I can't reproduce it. I could not determine the cause of the problem. Can you help me? My project asks for login when opening and establishes a connection to the server, it is realized in project's ProjectOpenedHook, connection is remembered in project. Project node is created in LogicalViewProvider without any cashing (as described in JavaDoc). LogicalViewProvider return empty node (without children) if login cancelled.
Assignee will likely request a minimal, self-contained test case to reproduce.
Actually the assignee will thank for the report. It shows that fix for bug 180940 was not correct. It could modify the VisualizerChildren hierarchy from outside of AWT dispatch thread. core-main#9446ce2bf11d
*** Bug 188043 has been marked as a duplicate of this bug. ***
*** Bug 189588 has been marked as a duplicate of this bug. ***
*** Bug 191711 has been marked as a duplicate of this bug. ***
I run our application created on Netbeans platform. Netbeans started to open the previous 4 projects. I entered the password for the first project, entered the password for second project, then there was the error. Files tab after that did not work. After restarting, everything works as expected and the error no longer occurs. I can't reproduce it again.
*** Bug 187371 has been marked as a duplicate of this bug. ***
*** Bug 189447 has been marked as a duplicate of this bug. ***