Summary: | NPE in java builder when trying to retrieve a file | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | john.arthorne |
Version: | 3.2 | ||
Target Milestone: | 3.2 M6 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Olivier Thomann
2006-03-20 20:29:31 EST
John - any ideas? Is this something we need to handle or is it your bug? The problem is in ClasspathJar: Util.toLocalFile(resource.getLocationURI(), null) The NPE is caused by resource.getLocationURI() returning null. This means the resource's project does not exist. Added NPE check that was removed when moving from getLocation() to getLocationURI() Verified for 3.2 M6 using build I20060329-0010. |