Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 438493

Summary: Product Export Wizard Fails with NullPointerException in Luna
Product: [Eclipse Project] PDE Reporter: Kenneth Evans <ken>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: curtis.windatt.public, ken
Version: 4.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Configuration dialog for product export. none

Description Kenneth Evans CLA 2014-06-29 11:40:00 EDT
Created attachment 244652 [details]
Configuration dialog for product export.

After installing Luna 4.4.0, I can not export any of my RCP projects using the Eclipse Product export wizard on the Overview tab of the Product Editor.  The error message is:

An internal error occurred during: "Export Product".
java.lang.NullPointerException

The entry in the .log is:

!ENTRY org.eclipse.core.jobs 4 2 2014-06-29 10:16:23.217
!MESSAGE An internal error occurred during: "Export Product".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.osgi.internal.resolver.NativeCodeSpecificationImpl.isSatisfiedBy(NativeCodeSpecificationImpl.java:120)
	at org.eclipse.osgi.internal.module.ResolverImpl.isResolvable(ResolverImpl.java:285)
	at org.eclipse.osgi.internal.module.ResolverImpl.resolveBundles(ResolverImpl.java:639)
	at org.eclipse.osgi.internal.module.ResolverImpl.resolve(ResolverImpl.java:477)
	at org.eclipse.osgi.internal.resolver.StateImpl.resolve(StateImpl.java:545)
	at org.eclipse.osgi.internal.resolver.StateImpl.resolve(StateImpl.java:605)
	at org.eclipse.pde.internal.build.site.BuildTimeSite.getRegistry(BuildTimeSite.java:186)
	at org.eclipse.pde.internal.build.BuildScriptGenerator.generateFeatures(BuildScriptGenerator.java:276)
	at org.eclipse.pde.internal.build.BuildScriptGenerator.generate(BuildScriptGenerator.java:127)
	at org.eclipse.pde.internal.core.exports.FeatureExportOperation.doExport(FeatureExportOperation.java:257)
	at org.eclipse.pde.internal.core.exports.ProductExportOperation.run(ProductExportOperation.java:106)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

These RCP products have been previously working for a ,long time, most recently with Kepler 4.3.1, and only have changes related to different Dependencies in Luna vs. Kepler.  They run all right from Eclipse with the launcher generated with "Launch an Eclipse application".

There is not enough error information given for me to determine what is wrong.  I have tried changing things but with no success.  As far as I can tell the settings in the dialog are correct and are the same as what previously worked.

I am attaching the dialog for the export settings.

Thanks.
Comment 1 Curtis Windatt CLA 2014-07-02 10:13:31 EDT

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