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.
java.lang.ArrayIndexOutOfBoundsException: -1 at org.netbeans.lib.editor.view.GapObjectArray. getItem(GapObjectArray.java:78) at org.netbeans.lib.editor.view. GapBoxViewChildren.getChild(GapBoxViewChildren. java:189) at org.netbeans.lib.editor.view.GapBoxView. getChild(GapBoxView.java:1574) at org.netbeans.lib.editor.view.GapBoxView. getView(GapBoxView.java:458) at org.netbeans.editor.CodeFoldingSideBar. collectPaintInfos(CodeFoldingSideBar.java:335) at org.netbeans.editor.CodeFoldingSideBar. getPaintInfo(CodeFoldingSideBar.java:380) at org.netbeans.editor.CodeFoldingSideBar. paintComponent(CodeFoldingSideBar.java:450) at javax.swing.JComponent.paint(JComponent.java: 808) at javax.swing.JComponent. paintChildren(JComponent.java:647) at javax.swing.JComponent.paint(JComponent.java: 817) at javax.swing.JComponent. paintChildren(JComponent.java:647) at javax.swing.JComponent.paint(JComponent.java: 817) at javax.swing.JViewport.paint(JViewport.java: 722) at javax.swing.JComponent. paintChildren(JComponent.java:647) at javax.swing.JComponent.paint(JComponent.java: 817) at javax.swing.JComponent. paintWithOffscreenBuffer(JComponent.java:4787) at javax.swing.JComponent. paintDoubleBuffered(JComponent.java:4740) at javax.swing.JComponent. _paintImmediately(JComponent.java:4685) at javax.swing.JComponent. paintImmediately(JComponent.java:4488) at javax.swing.RepaintManager. paintDirtyRegions(RepaintManager.java:410) [catch] at javax.swing. SystemEventQueueUtilities$ComponentWorkRequest. run(SystemEventQueueUtilities.java:117) at java.awt.event.InvocationEvent. dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue. java:454) at java.awt.EventDispatchThread. pumpOneEventForHierarchy(EventDispatchThread.java: 201) at java.awt.EventDispatchThread. pumpEventsForHierarchy(EventDispatchThread.java: 151) at java.awt.EventDispatchThread. pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread. pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread. run(EventDispatchThread.java:100)
Created attachment 17447 [details] A java.lang.ArrayIndexOutOfBoundsException exception has occurred.
Already fixed. Thanks for your report. *** This issue has been marked as a duplicate of 42625 ***