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 30117 - java.lang.ArrayIndexOutOfBoundsException: 4 >= 4
Summary: java.lang.ArrayIndexOutOfBoundsException: 4 >= 4
Status: RESOLVED INVALID
Alias: None
Product: obsolete
Classification: Unclassified
Component: externaleditor (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P4 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-15 07:10 UTC by zss
Modified: 2007-12-03 13:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zss 2003-01-15 07:10:13 UTC
Product Version:  Sun ONE Studio 4 update 1,
Enterprise Edition (Build 030107_5)
IDE Versioning:   IDE/1 spec=3.27 impl=030107_5
Operating System: SunOS version 5.7 running on
sparc
Java:             1.4.0
VM:               Java HotSpot(TM) Client VM
1.4.0-b92
Vendor:           Sun Microsystems Inc.
Java Home:        /usr/j2se/jre
System Locale:    ru_RU (Mj_ee)
Home Dir:         /home/zss
Current Dir:     
/net/novo52/export/home/ifdef/nevada_030107_5/bin
IDE Install:     
/net/novo52/export/home/ifdef/nevada_030107_5
User Dir:         /export/home/IFDEF/zss/nbdev

To reproduce the bug, please,
- push "Tools|Options..." menubar item at the NB
main window;
- wait "Options" window;
- select "Options|Editing|External Editing" tree
node at Options window;
- change "Editor Type" property to VIM;
- create Main.java using "New|Java Classes|Main"
popup menu item at the Explorer window;
- compile Main.java using "Compile" popup menu
item at the Explorer window;
- select Main.java, push  "Debug|Step Into"
menubar item at the NB main window.
- wait Debugger Window, Output Window, GVIM;
- close GVIM;
- return from Debugging to Editing process;
- change "Editor Type" property to Built-In
Editor;
- select Main.java, push  "Debug|Step Into"
menubar item at the NB main window.


After this we see the following exception arising:

Annotation: Root /usr/j2se/jre/classes does not
exist.
java.lang.ArrayIndexOutOfBoundsException: 4 >= 4
	at java.util.Vector.elementAt(Vector.java:427)
	at
javax.swing.JTabbedPane.getComponentAt(JTabbedPane.java:1015)
	at
javax.swing.JTabbedPane.getSelectedComponent(JTabbedPane.java:495)
	at
org.netbeans.core.windows.frames.SplitContainerImpl.componentRemoved(SplitContainerImpl.java:722)
	at
org.netbeans.core.windows.frames.DefaultContainerImpl.removeTopComponent(DefaultContainerImpl.java:659)
	at
org.netbeans.core.windows.ModeImpl$2.performCommand(ModeImpl.java:581)
	at
org.netbeans.core.windows.DeferredPerformer.processCommand(DeferredPerformer.java:195)
	at
org.netbeans.core.windows.DeferredPerformer.putRequest(DeferredPerformer.java:89)
	at
org.netbeans.core.windows.ModeImpl.close(ModeImpl.java:570)
	at
org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.doClose(WindowManagerImpl.java:1661)
	at
org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.close(WindowManagerImpl.java:1601)
	at
org.openide.windows.TopComponent.close(TopComponent.java:267)
	at
org.openide.windows.TopComponent.close(TopComponent.java:238)
[catch] at
org.netbeans.core.output.OutputTabTerm$2.run(OutputTabTerm.java:529)
	at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at
java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Comment 1 Vladimir Kvashin 2007-12-03 13:09:44 UTC
External editor is no longer supported