Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363445 - Export of Deployable Features with JNLP throws NPE during assembly
Summary: Export of Deployable Features with JNLP throws NPE during assembly
Status: RESOLVED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-10 05:17 EST by Carl Wicklow CLA
Modified: 2018-12-03 09:09 EST (History)
0 users

See Also:


Attachments
Stack trace (4.83 KB, text/plain)
2011-11-10 05:18 EST, Carl Wicklow CLA
no flags Details
ANT Assembly script (7.71 KB, text/xml)
2011-11-10 05:19 EST, Carl Wicklow CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.