Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316417 - NullpointerException when deploying a bundle project to Swordfish server
Summary: NullpointerException when deploying a bundle project to Swordfish server
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Swordfish (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Swordfish Core Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-10 03:02 EDT by Juergen Kindler CLA
Modified: 2014-01-09 16:40 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 Juergen Kindler CLA 2010-06-10 03:02:09 EDT
If one (illegally) marks a bundle projects with the Swordfish Application facet, the bundle cannot transferred to the Swordfish server, because the Add and Remove dialog complains that the Java facet is not supported ("Project facet Java version 1.5 is not supported").

However, if one removes that "annoying" Java facet, adding the project in the dialog is possible. But when pressing finish, an error dialog 
"An internal error occurred during: "".
java.lang.NullPointerException"
pops up.

Internal stacktrace:
java.lang.NullPointerException
at org.eclipse.pde.internal.core.feature.WorkspaceFeatureModel.getInstallLocation(WorkspaceFeatureModel.java:83)
at org.eclipse.pde.internal.core.exports.FeatureExportOperation.doExport(FeatureExportOperation.java:220)
at org.eclipse.pde.internal.core.exports.FeatureExportOperation.run(FeatureExportOperation.java:109)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

What is even worse: The bundle project remains in the list of deployed modules. :-(