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.
unit testing single module, Junit 4, netbeans6.0 M9, select module, run debugging test. A java.lang.ArrayIndexOutOfBoundsException exception has occurred. Please report this at http://www.netbeans.org/community/issues.html, including a copy of your messages.log file as an attachment. The messages.log file is located in your C:\Documents and Settings\...\.netbeans\6.0m9\var\log folder.
Created attachment 43763 [details] file I was told to attach
I cannot find mentioned exception in the attached log. Are you sure you've posted the right file?
more details.... test a single class using standard run debug test option. abort the test (press red X after a breakpoint)... all looks ok at this point attempt to rerun the test. red stop icon shows up in netbeans lower right corner. The variable window at this point is not displayed. Need to restart netbeans to continue. pressing the red stop icon provides.... exception window A java.lang.ArrayIndexOutOfBoundsException exception has occurred. Please report this at http://www.netbeans.org/community/issues.html, including a copy of your messages.log file as an attachment. The messages.log file is located in your C:\Documents and Settings\...\.netbeans\6.0m9\var\log folder. The attachment is the above log file after a single press on the red stop icon, (causing the above error), and a attempting a submission.
Created attachment 43833 [details] attach log file
The details from the error window was: java.lang.ArrayIndexOutOfBoundsException: 1 at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.padSelectedTab(BasicTabbedPaneUI.java:2820) at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.calculateTabRects(BasicTabbedPaneUI.java:2691) at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.calculateLayoutInfo(BasicTabbedPaneUI.java:2484) at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.layoutContainer(BasicTabbedPaneUI.java:2383) at java.awt.Container.layout(Container.java:1419) at java.awt.Container.doLayout(Container.java:1408) at java.awt.Container.validateTree(Container.java:1491) at java.awt.Container.validate(Container.java:1466) at javax.swing.plaf.basic.BasicTabbedPaneUI.ensureCurrentLayout(BasicTabbedPaneUI.java:1421) at javax.swing.plaf.basic.BasicTabbedPaneUI.getTabBounds(BasicTabbedPaneUI.java:1441) at javax.swing.JTabbedPane.getBoundsAt(JTabbedPane.java:1266) at org.openide.awt.CloseButtonTabbedPane.findTabForCoordinate(CloseButtonTabbedPane.java:337) at org.openide.awt.CloseButtonTabbedPane$CloseButtonListener.eventDispatched(CloseButtonTabbedPane.java:400) at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2360) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2252) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2251) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2251) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2251) at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2210) at java.awt.Component.dispatchEventImpl(Component.java:4305) at java.awt.Container.dispatchEventImpl(Container.java:2042) at java.awt.Component.dispatchEvent(Component.java:4237) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4248) at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4037) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3894) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3842) at java.awt.Container.dispatchEventImpl(Container.java:2028) at java.awt.Window.dispatchEventImpl(Window.java:2405) at java.awt.Component.dispatchEvent(Component.java:4237) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:600) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
I can, however, apply code changes and continue working. Problem appears to be only when the exit happens and attempt to debug again.
Thanks for additional info. From the stacktrace I can see that you're facing JDK bug. Please update your JDK. For more info see issue 75955. *** This issue has been marked as a duplicate of 75955 ***