Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 292821 - NPE during Export -> Product
Summary: NPE during Export -> Product
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 3.5.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.5.2   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-20 16:35 EDT by Andrew Niefer CLA
Modified: 2009-10-21 14:32 EDT (History)
1 user (show)

See Also:


Attachments
patch (791 bytes, patch)
2009-10-21 14:32 EDT, Andrew Niefer CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2009-10-20 16:35:05 EDT
cloned for 3.5.2, this was introduced with the fix for bug 281372 that was released to 3.5.1

+++ This bug was initially created as a clone of Bug #292327 +++

While executing Export -> Product I get an NPE error partway through the Linux
platform export.

In my .product file there are launcher icons supplied for Windows but not for
Linux.  Removing all windows launcher icons from .product eliminated the NPE
during export.


Caused by: java.lang.NullPointerException: name can't be null
    at java.io.FilePermission.init(FilePermission.java:171)
    at java.io.FilePermission.<init>(FilePermission.java:249)
    at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
    at
org.eclipse.ant.internal.core.AntSecurityManager.checkRead(AntSecurityManager.java:284)
    at java.io.FileInputStream.<init>(FileInputStream.java:100)
    at org.eclipse.pde.internal.build.Utils.copy(Utils.java:408)
    at
org.eclipse.pde.internal.build.BrandingIron.brandLinux(BrandingIron.java:106)
    at org.eclipse.pde.internal.build.BrandingIron.brand(BrandingIron.java:74)
    at
org.eclipse.pde.internal.build.tasks.BrandTask.execute(BrandTask.java:46)
    ... 24 more
Comment 1 Andrew Niefer CLA 2009-10-21 14:32:27 EDT
Created attachment 150144 [details]
patch
Comment 2 Andrew Niefer CLA 2009-10-21 14:32:59 EDT
fixed