Bug 495816 - NPE thrown in CFT jar packaging for standalone Maven apps
Summary: NPE thrown in CFT jar packaging for standalone Maven apps
Status: NEW
Alias: None
Product: CFT
Classification: ECD
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-09 12:44 EDT by Nieraj Singh CLA
Modified: 2016-06-09 12:44 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nieraj Singh CLA 2016-06-09 12:44:56 EDT
In some cases, the output location of a Maven project cannot be found through the workspace API and an NPE is thrown in JavaPackageFragmentRootHandler due to:

IPath location = ResourcesPlugin.getWorkspace().getRoot()
			.findMember(outputLocation).getLocation();

This may be related to Maven projects going out of synch with filesystem:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=495814