| Summary: | NullpointerException when deploying a bundle project to Swordfish server | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Juergen Kindler <jkindler> |
| Component: | Swordfish | Assignee: | Swordfish Core Inbox <swordfish.core-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=316426 | ||
| Whiteboard: | |||
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. :-(