Community
Participate
Working Groups
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)
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
Exactly, I was going to ask if you were using the IBM JRE ? Smells like another JIT issue.
Works as long as using another JRE. The involved code cannot throw any NPE.
Please add steps to reproduce this problem.
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