Community
Participate
Working Groups
Created attachment 236615 [details] Test projects Using Eclipse SDK 4.3.1 and 4.4.0 I20131015-0800 1. Import the attached projects 2. Open the myproduct.product file 3. Export the product Error dialog comes up with message 'Export product has encountered a problem' In the error log, the call stack ends with Caused by: java.lang.NullPointerException at java.lang.AbstractStringBuilder.replace(AbstractStringBuilder.java:797) at java.lang.StringBuffer.replace(StringBuffer.java:387) at org.eclipse.pde.internal.build.tasks.LicenseReplaceTask$Feature.replace(LicenseReplaceTask.java:79) at org.eclipse.pde.internal.build.tasks.LicenseReplaceTask.execute(LicenseReplaceTask.java:303) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) ... 60 more
Created attachment 236616 [details] Partial error log
The bug happens when the license feature has no text in the description.
Proposed fix: https://git.eclipse.org/r/17504
http://git.eclipse.org/c/pde/eclipse.pde.build.git/commit/?id=47ec5a2b7507072fc8770e0fed97af161bf39669 Fixed in master
Thank you!