Community
Participate
Working Groups
Created attachment 188457 [details] Patch that fixes NPE To reproduce the failure you have to create faceted project that is located in different file system WebDav, In-Memory, etc. See http://wiki.eclipse.org/EFS NPE happens in FacetedProject.refresh() method in this snippet: root = parse( this.f.getLocation().toFile() ); getLocation() return null as it specified in JavaDoc for the files located in different, lot local file systems. Attached is proposed patch to fix that problem.
Does it matter that f.getLocationURI() is null or not if the file is accesible and the contents readable?
I added it as a safeguard. It does not matter actually.
Created attachment 188468 [details] Added new patch without getLocationURI Added new patch without getLocationURI
Not major as this isn't an issue during normal use of WTP.
Created attachment 191370 [details] Patch v3 A bit of cleanup to previous patch.
Fix released into 3.3 M7 stream.