Bug 25464 - NPE during import plugins
Summary: NPE during import plugins
Status: RESOLVED DUPLICATE of bug 25197
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 2.1 M3   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-28 15:02 EST by Luc Bourlier CLA
Modified: 2002-10-29 04:58 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luc Bourlier CLA 2002-10-28 15:02:37 EST
Build 20021022
Linux-GTK

I get a NPE when I try to import (override/update) org.apache.xerces :

java.lang.NullPointerException
        at
org.eclipse.jdt.internal.core.SetClasspathOperation.generateClasspathChangeDeltas(SetClasspathOperation.java:260)
        at
org.eclipse.jdt.internal.core.SetClasspathOperation.updateClasspath(SetClasspathOperation.java:508)
        at
org.eclipse.jdt.internal.core.SetClasspathOperation.executeOperation(SetClasspathOperation.java:216)
        at
org.eclipse.jdt.internal.core.JavaModelOperation.execute(JavaModelOperation.java:321)
        at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:621)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1378)
        at
org.eclipse.jdt.internal.core.JavaElement.runOperation(JavaElement.java:563)
        at
org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2251)
        at
org.eclipse.jdt.internal.core.SetClasspathOperation.updateAffectedProjects(SetClasspathOperation.java:544)
        at
org.eclipse.jdt.internal.core.SetClasspathOperation.generateClasspathChangeDeltas(SetClasspathOperation.java:409)
        at
org.eclipse.jdt.internal.core.SetClasspathOperation.updateClasspath(SetClasspathOperation.java:508)
        at
org.eclipse.jdt.internal.core.SetClasspathOperation.executeOperation(SetClasspathOperation.java:216)
        at
org.eclipse.jdt.internal.core.JavaModelOperation.execute(JavaModelOperation.java:321)
        at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:621)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1378)
        at
org.eclipse.jdt.internal.core.JavaElement.runOperation(JavaElement.java:563)
        at
org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2251)
        at
org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2267)
        at
org.eclipse.pde.internal.ui.wizards.imports.PluginImportOperation.createProject(PluginImportOperation.java:235)
        at
org.eclipse.pde.internal.ui.wizards.imports.PluginImportOperation.run(PluginImportOperation.java:149)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1378)
        at
org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizard$2.run(PluginImportWizard.java:136)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:98)

The result is the classpath of the project is not set.
Comment 1 Claude Knaus CLA 2002-10-29 03:40:51 EST
There were some import related problems im 20021022. They were fixed in 
20021023. Can you try it out? I can't really use 20021023 because of some SWT-
GTK problems (I'm still on 20021018).
Comment 2 Philipe Mulet CLA 2002-10-29 04:57:46 EST

*** This bug has been marked as a duplicate of 25197 ***
Comment 3 Philipe Mulet CLA 2002-10-29 04:58:09 EST
Forgot to assign
Comment 4 Philipe Mulet CLA 2002-10-29 04:58:41 EST

*** This bug has been marked as a duplicate of 25197 ***