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 8004 - java.lang.ArrayIndexOutOfBoundsException when changing projects
Summary: java.lang.ArrayIndexOutOfBoundsException when changing projects
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Other Windows 3.1/NT
: P3 major (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-25 01:08 UTC by jsisson
Modified: 2008-12-23 11:45 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 jsisson 2000-10-25 01:08:42 UTC
Had a project open with a number of java files displayed in the editor (and
possibly one text file).  I then selected Project --> Open to open another
project.  It asked me whether I wanted to save the current project.  I replied
YES and Forte started to switch to the new project and then failed (got grey
windows).  The following exception was found in the forte log:

>Log Session: Friday, October 20, 2000 2:58:47 PM GMT+11:00
>System Info:
  Product Version          = Forte for Java, CE v. 1.0 Update Release 1 (Build
842)
  IDE Versioning           = IDE/1 spec=1.0.4 impl=Build 842
  Operating System         = Windows NT Version 4.0 Running on x86
  Java Version             = 1.3.0
  Java VM Version          = Java HotSpot(TM) Client VM 1.3.0-C
  Java Vendor              = Sun Microsystems Inc.
  Java Vendor URL          = http://java.sun.com/
  Java Home                = C:\jdk1.3\jre
  Java Class Version       = 47.0
  System Locale            = en_US
  JIT                      = unknown or not used
  Home Dir                 = C:\WINNT\Profiles\john
  Current Directory        = c:\forte4j
  Forte for Java Home      = C:\forte4j
  Forte for Java User Home = C:\forte4j
  System Directory         = C:\forte4j\system
  CLASSPATH                =
C:\forte4j\lib\patches\patch.jar;C:\forte4j\lib;C:\forte4j\lib\developer.jar;C:\
forte4j\lib\openide.jar;C:\forte4j\lib\updater.jar;C:\forte4j\lib\ext\AbsoluteLa
yout.jar;C:\forte4j\lib\ext\javac.jar;C:\forte4j\lib\ext\jh.jar;C:\forte4j\lib\e
xt\regexp.jar;C:\forte4j\lib\ext\servlet.jar;C:\forte4j\lib\ext\xml.jar;C:\jdk1.
3\lib\dt.jar;C:\jdk1.3\lib\tools.jar
-------------------------------------------------------------------------------
[INFO] Loaded modules: org.netbeans.modules.clazz/1 (1.1/842);
org.netbeans.modules.html/1 (1.1/842); org.netbeans.modules.httpserver/1
(1.1/842); org.netbeans.modules.icebrowser/1 (1.1/842);
org.netbeans.modules.image/1 (1.1/842); org.netbeans.modules.text/1 (1.1/842);
org.netbeans.modules.usersguide/1 (1.1/unspec);
org.netbeans.modules.vcs.cmdline/1 (1.2/842); org.openidex.util/1 (1.1/842);
org.netbeans.modules.autoupdate/1 (1.1/842);
org.netbeans.modules.debugger.core/1 (1.1.3/849); org.netbeans.modules.applet/1
(1.1/842); org.netbeans.modules.debugger.debug/1 (1.2/842);
org.netbeans.modules.debugger.jpda/1 (1.2/842); org.netbeans.modules.editor/1
(1.2/842); org.netbeans.modules.java/1 (1.1.1/1.1.1);
org.netbeans.modules.beans/1 (1.1/842); org.netbeans.modules.form/1 (1.2/842);
org.netbeans.modules.javadoc/1 (1.1/842); org.netbeans.modules.objectbrowser/1
(1.1/842); org.netbeans.modules.projects/1 (1.1/842);
org.netbeans.modules.utilities/1 (1.2/842); org.netbeans.modules.web.core/1
(1.1.6/842)
Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: 3 >= 3
	at java.util.Vector.elementAt(Vector.java:417)
	at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:352)
	at javax.swing.JTabbedPane.setSelectedComponent(JTabbedPane.java:399)
	at org.netbeans.core.windows.MultiTabContainer.selectView
(MultiTabContainer.java:697)
	at org.netbeans.core.windows.MultiTabContainer$1.run
(MultiTabContainer.java:461)
	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 David Simonek 2000-11-06 08:36:59 UTC
This is known bug and it is fixed now, in current version.
Comment 2 Marian Mirilovic 2002-04-12 18:43:35 UTC
verified
Comment 3 Quality Engineering 2003-07-01 16:16:35 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.