| Summary: | NPE when copying resource linked to non-local filesystem | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Steve Shelley <steve.shelley> |
| Component: | Resources | Assignee: | Platform-Resources-Inbox <platform-resources-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | steve.shelley |
| Version: | 3.4.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Steve Shelley
I think the NPE in LocationValidator.java:67 should be fixed. As near as I can tell CopyFilesAndFoldersOperation.java:1518 is using the path to get an IResource. Should we get getting a URI from somewhere instead? If so, where? PW The fix on the UI side is to use IResource.getRawLocationURI() rather than IResource.getRawLocation(). The only change I can picture making in the core code is to throw an assertion failure rather than an NPE, but the effect will be the same. Bug 370632 was opened for UI side fix. No changes planned in resources. |