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 think I closed the tabs too quick. (I'm using NB over tarantella and a slow line. Anyhow, I received this exception trying to kill 3-4 output tabs. After this I cannot open the output window any more. Not even close and then reopen (ctrl-4). Cheers, Tamas java.lang.ArrayIndexOutOfBoundsException: 6 >= 6 at java.util.Vector.elementAt(Vector.java:431) at javax.swing.plaf.basic.BasicTabbedPaneUI.getTextViewForTab(BasicTabbedPaneUI.java:1403) at javax.swing.plaf.basic.BasicTabbedPaneUI.calculateTabHeight(BasicTabbedPaneUI.java:1410) at javax.swing.plaf.basic.BasicTabbedPaneUI.calculateMaxTabHeight(BasicTabbedPaneUI.java:1435) at javax.swing.plaf.metal.MetalTabbedPaneUI.calculateMaxTabHeight(MetalTabbedPaneUI.java:913) at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.calculateTabRects(BasicTabbedPaneUI.java:2220) at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.calculateLayoutInfo(BasicTabbedPaneUI.java:2179) at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.layoutContainer(BasicTabbedPaneUI.java:2094) at java.awt.Container.layout(Container.java:1020) at java.awt.Container.doLayout(Container.java:1010) at java.awt.Container.validateTree(Container.java:1092) at java.awt.Container.validate(Container.java:1067) at javax.swing.plaf.basic.BasicTabbedPaneUI.ensureCurrentLayout(BasicTabbedPaneUI.java:1145) at javax.swing.plaf.basic.BasicTabbedPaneUI.getTabBounds(BasicTabbedPaneUI.java:1165) at javax.swing.JTabbedPane.getBoundsAt(JTabbedPane.java:1090) at org.netbeans.core.output2.ui.CloseButtonTabbedPane.findTabForCoordinate(CloseButtonTabbedPane.java:290) at org.netbeans.core.output2.ui.CloseButtonTabbedPane$CloseButtonListener.eventDispatched(CloseButtonTabbedPane.java:353) at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2136) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2030) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2029) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2029) at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:1988) at java.awt.Component.dispatchEventImpl(Component.java:3530) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:3323) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3180) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at java.awt.Container.dispatchEventImpl(Container.java:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) 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)
a swing issue probably?
With NB 5.5 Beta this AIOOBE with closing tabs in output window is getting rather frequently. I suspect it was due to Maven2 before, but now this also happens when I tried to close down SVN output tabs!
Created attachment 30372 [details] Stack Trace
A restart of the IDE is inevitable --> P2
On NB 5.5 Dev 200605120200 and Mustang b84, I'm reproducing this issue reliably. Simply try and close two output tabs quickly, and the exceptions will be thrown. It is reproduced just by using NB alone - no Maven2 etc. installed. This is getting serious - restarting the IDE every now and then just because of this bug isn't a pleasant experience at all! From the stack trace it looks like something to do with trying to use an old index to access the now smaller java.util.Vector and thus the crash.
Created attachment 30453 [details] Stack Trace
Duplicate of 75955. *** This issue has been marked as a duplicate of 75955 ***
This issue had *1 votes* before move to platform component