Bug 28357 - NPE on importing plugins
Summary: NPE on importing plugins
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-16 05:13 EST by Adam Kiezun CLA
Modified: 2002-12-17 10:44 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 Adam Kiezun CLA 2002-12-16 05:13:10 EST
20021213

java.lang.NullPointerException
	at java.lang.System.arraycopy(Native Method)
	at org.eclipse.jdt.internal.compiler.util.ObjectVector.copyInto
(ObjectVector.java:84)
	at org.eclipse.jdt.internal.compiler.util.ObjectVector.copyInto
(ObjectVector.java:79)
	at org.eclipse.jdt.internal.core.JavaProject.computePackageFragmentRoots
(JavaProject.java:346)
	at org.eclipse.jdt.internal.core.JavaProject.computePackageFragmentRoots
(JavaProject.java:357)
	at 
org.eclipse.jdt.internal.core.SetClasspathOperation.generateClasspathChangeDelta
s(SetClasspathOperation.java:321)
	at org.eclipse.jdt.internal.core.SetClasspathOperation.updateClasspath
(SetClasspathOperation.java:558)
	at org.eclipse.jdt.internal.core.SetClasspathOperation.executeOperation
(SetClasspathOperation.java:242)
	at org.eclipse.jdt.internal.core.JavaModelOperation.execute
(JavaModelOperation.java:326)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run
(JavaModelOperation.java:626)
	at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1557)
	at org.eclipse.jdt.internal.core.JavaElement.runOperation
(JavaElement.java:562)
	at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath
(JavaProject.java:2098)
	at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath
(JavaProject.java:2114)
	at 
org.eclipse.pde.internal.ui.wizards.imports.PluginImportOperation.createProject
(PluginImportOperation.java:222)
	at org.eclipse.pde.internal.ui.wizards.imports.PluginImportOperation.run
(PluginImportOperation.java:119)
	at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1557)
	at org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizard$2.run
(PluginImportWizard.java:152)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run
(ModalContext.java:95)
Comment 1 Adam Kiezun CLA 2002-12-16 09:36:19 EST
it must be an jdk-related problem
i do see it on ibm 1.3
i do not see it on sun 1.3.1
Comment 2 Philipe Mulet CLA 2002-12-16 09:42:58 EST
Exactly, I was going to ask if you were using the IBM JRE ? Smells like another 
JIT issue. 
Comment 3 Philipe Mulet CLA 2002-12-16 09:43:51 EST
Works as long as using another JRE. The involved code cannot throw any NPE.
Comment 4 Tim Ellison CLA 2002-12-17 10:06:44 EST
Please add steps to reproduce this problem.
Comment 5 Adam Kiezun CLA 2002-12-17 10:44:03 EST
i can get the jdk info - it should be easy to reproduce then
because you get that NPE pretty much anything you try in eclipse