Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344388

Summary: XtextResourceSetProvider.get(...) null check
Product: [Modeling] TMF Reporter: Christophe Bouhier <dzonekl>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: sebastian.zarnekow
Version: 2.0.0Flags: sebastian.zarnekow: indigo+
Target Milestone: M7   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Christophe Bouhier CLA 2011-05-01 02:17:20 EDT
I am porting the Xtext in forms example to xtext 2.0. 
At some point the example calls fResourceSetProvider.get(null);
The 1.x version, could handle this, the 2.0 provider now installs a URIMap which is computed, but 
can't handle null for get(IProject project) 

solution: do a null check on project before computing the URIMap.
Comment 1 Sebastian Zarnekow CLA 2011-05-01 03:48:49 EDT

*** This bug has been marked as a duplicate of bug 339640 ***