Bug 6160 - Index out of bounds in update references
Summary: Index out of bounds in update references
Status: RESOLVED DUPLICATE of bug 6151
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 critical (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 6294 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-11-21 08:07 EST by Erich Gamma CLA
Modified: 2002-01-11 09:22 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Gamma CLA 2001-11-21 08:07:07 EST
I was installing a new JRE (JDK 1.4) when leaving the preferences
dialog I get an obscure error dialog "Update Class Path Failed: 49"
The obscure message looks like message format problem.

The workspace is a selfhosting workspace. Notice I had the same problem when
I converted a project to a PDE project.

4 org.eclipse.jdt.ui 1 Internal Error
java.lang.reflect.InvocationTargetException: 
java.lang.ArrayIndexOutOfBoundsException: 49
	at org.eclipse.jdt.internal.compiler.util.ObjectSet$1.nextElement
(ObjectSet.java:109)
	at 
org.eclipse.jdt.internal.core.SetClasspathOperation.updateProjectReferences
(SetClasspathOperation.java:330)
	at org.eclipse.jdt.internal.core.SetClasspathOperation.executeOperation
(SetClasspathOperation.java:119)
	at org.eclipse.jdt.internal.core.JavaModelOperation.execute
(JavaModelOperation.java:257)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run
(JavaModelOperation.java:454)
	at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1186)
	at org.eclipse.jdt.internal.core.JavaModelManager.runOperation
(JavaModelManager.java:915)
	at org.eclipse.jdt.internal.core.JavaElement.runOperation
(JavaElement.java:512)
	at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath
(JavaProject.java:1882)
	at org.eclipse.jdt.core.JavaCore.updateVariableValue(JavaCore.java:1156)
	at org.eclipse.jdt.core.JavaCore.setClasspathVariable
(JavaCore.java:1006)
	at org.eclipse.jdt.launching.JavaRuntime.setJREVariables
(JavaRuntime.java:624)
	at org.eclipse.jdt.launching.JavaRuntime.initializeJREVariables
(JavaRuntime.java:562)
	at org.eclipse.jdt.launching.JavaRuntime.setDefaultVMInstall
(JavaRuntime.java:240)
	at org.eclipse.jdt.internal.debug.ui.launcher.VMPreferencePage$7.execute
(VMPreferencePage.java:393)
	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run
(WorkspaceModifyOperation.java:64)
	at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1186)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run
(WorkspaceModifyOperation.java:78)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run
(ModalContext.java:98)
Comment 1 Philipe Mulet CLA 2001-11-22 11:13:15 EST
Fixed along with the bug 6151

*** This bug has been marked as a duplicate of 6151 ***
Comment 2 Philipe Mulet CLA 2001-11-26 10:04:43 EST
*** Bug 6294 has been marked as a duplicate of this bug. ***