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

Bug 363445

Summary: Export of Deployable Features with JNLP throws NPE during assembly
Product: [Eclipse Project] PDE Reporter: Carl Wicklow <bugs.eclipse.org>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Stack trace
none
ANT Assembly script none

Description Carl Wicklow CLA 2011-11-10 05:17:21 EST
Build Identifier: 20110916-0149

When exporting one specific feature (org.eclipse.epp.package.common.feature_1.4.1.20110816-1927) the eclipse.jnlpGenerator ANT tasks fails with an Null Pointer Exception.

Assembly ANT script and stack traces will be attached shortly.

Speculating, I'd suggest it's due to the feature being a wrapper feature that contains no plugins. It only requires other features. 

Workaround is to add a plugin to it's feature.xml (I just added a plugin that's also included in one of it's requires features).

Thanks !


Reproducible: Always

Steps to Reproduce:
1. Import the org.eclipse.epp.package.common.feature feature into your workspace
2. Export it as a Deployable feature (Options - "Package as Individual Jars" ON ; "Generate MDR" OFF ; No JAR signing ; Java WebStart ON)
3. Click finish.
Comment 1 Carl Wicklow CLA 2011-11-10 05:18:53 EST
Created attachment 206772 [details]
Stack trace
Comment 2 Carl Wicklow CLA 2011-11-10 05:19:18 EST
Created attachment 206773 [details]
ANT Assembly script
Comment 3 Lars Vogel CLA 2018-12-03 09:09:40 EST
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. 

Please reopen, if you plan to provide a fix.