| Summary: | XtextResourceSetProvider no longer permits a null project | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Ed Willink <ed> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | clay, dzonekl, sebastian.zarnekow |
| Version: | 2.0.0 | Flags: | sebastian.zarnekow:
indigo+
|
| Target Milestone: | M7 | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 303977 | ||
which also affects return resourceSetProvider.get(null); in ResourceForIEditorInputFactory Pushed to master. *** Bug 344388 has been marked as a duplicate of this bug. *** Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
2.0M5 almost M6. XtextResourceSetProvider.get(IProject) used to tolerate a null project for non-project contexts such as views as used by the XTFO EmbeddedXtextEditor. This now NPEs. The following lines IJavaProject javaProject = JavaCore.create(project); set.getURIConverter().getURIMap().putAll(computePlatformURIMap(javaProject)); if (javaProject!=null && javaProject.exists()) { demonstrate that a null javaProject was once permitted.