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 9757

Summary: ArrayIndexOutOfBoundsException when starting to debug
Product: platform Reporter: RefuX <refux>
Component: -- Other --Assignee: mslama <mslama>
Status: CLOSED WORKSFORME    
Severity: blocker CC: dsimonek
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description RefuX 2001-02-21 19:41:14 UTC
This is with build 131:

It looks to me like its trying to add a pane into the Output window, but at the wrong index?

Wed Feb 21 13:27:58 CST 2001java.lang.ArrayIndexOutOfBoundsException: 1 > 0
java.lang.ArrayIndexOutOfBoundsException: 1 > 0
        at java.util.Vector.insertElementAt(Vector.java:551)
        at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:441)
        at javax.swing.JTabbedPane.addTab(JTabbedPane.java:480)
        at org.netbeans.core.windows.frames.MultiTabbedContainerImpl.componentAdded(MultiTabbedContainerImpl.java:250)
        at org.netbeans.core.windows.frames.DefaultContainerImpl.addTopComponent(DefaultContainerImpl.java:235)
        at org.netbeans.core.windows.frames.DefaultContainerImpl.addTopComponent(DefaultContainerImpl.java:210)
        at org.netbeans.core.windows.ModeImpl.addToContainer(ModeImpl.java:912)
        at org.netbeans.core.windows.ModeImpl.access$300(ModeImpl.java:66)
        at org.netbeans.core.windows.ModeImpl$1.performCommand(ModeImpl.java:271)
        at org.netbeans.core.windows.DeferredPerformer.processCommand(DeferredPerformer.java:145)
        at org.netbeans.core.windows.DeferredPerformer.putRequest(DeferredPerformer.java:82)
        at org.netbeans.core.windows.ModeImpl.dockInto(ModeImpl.java:252)
        at org.netbeans.core.windows.ModeImpl.dockInto(ModeImpl.java:236)
        at org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.doOpen(WindowManagerImpl.java:1104)
        at org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.open(WindowManagerImpl.java:1065)
        at org.openide.windows.TopComponent.open(TopComponent.java:192)
        at org.netbeans.core.output.OutputTab.open(OutputTab.java:465)
        at org.openide.windows.TopComponent.open(TopComponent.java:179)
        at org.netbeans.core.output.OutputTab.rebindTab(OutputTab.java:487)
        at org.netbeans.core.output.OutPane$PaneWriter.write(OutPane.java:400)
        at java.io.PrintWriter.write(PrintWriter.java:229)
        at java.io.PrintWriter.print(PrintWriter.java:360)
        at java.io.PrintWriter.println(PrintWriter.java:497)
[catch] at org.netbeans.modules.debugger.support.AbstractDebugger$2.run(AbstractDebugger.java:897)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:317)
        at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Comment 1 Jan Stola 2001-02-23 07:49:56 UTC
Seems to belong to core.
Comment 2 Jesse Glick 2001-02-23 15:11:27 UTC
win sys
Comment 3 David Simonek 2001-03-01 15:36:41 UTC
[dafe] Ok, and steps to reproduce, please? It seems I cannot reproduce desribed 
behaviour succesfully. Thanx a lot.
Comment 4 Jan Chalupa 2001-03-12 09:34:13 UTC
Version: 'Dev' -> 3.2
Comment 5 Jan Zajicek 2001-03-15 12:55:31 UTC
*** Issue 10220 has been marked as a duplicate of this issue. ***
Comment 6 David Simonek 2001-03-23 15:06:22 UTC
Reassigning to Marek, my favourite bug hunter. Marek, please see 10220 for
reproduction case and ask Petr Suchomel for greater details if needed (I didn't
understand how to reproduce the bug as well)
 
Comment 7 mslama 2001-03-28 09:38:57 UTC
It seems it works now. Please if you see it again reopen issue and try to find
steps to reproduce if possible.
Comment 8 Quality Engineering 2003-07-01 15:52:27 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 9 Quality Engineering 2003-07-01 16:17:26 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.