Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344388 - XtextResourceSetProvider.get(...) null check
Summary: XtextResourceSetProvider.get(...) null check
Status: CLOSED DUPLICATE of bug 339640
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-01 02:17 EDT by Christophe Bouhier CLA
Modified: 2011-05-01 03:48 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***