Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317166 - Regression with ModelUtils.createResource in standalone
Summary: Regression with ModelUtils.createResource in standalone
Status: CLOSED FIXED
Alias: None
Product: EMFCompare
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: EMF Compare CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 317269
  Show dependency tree
 
Reported: 2010-06-17 08:38 EDT by Laurent Goubet CLA
Modified: 2010-08-18 06:00 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Goubet CLA 2010-06-17 08:38:33 EDT
ResourceSet.createResource(URI) returns "null" in standalone if there is no resource factory registered for that URI's file extension. In the last version of EMF Compare, we automatically registered a new XMIResourceFactoryImpl() when there wasn't any, thus we never returned null; yet with my latest refactoring this default factory is no longer registered, provoking NPE with some implementations in standalone mode.
Comment 1 Laurent Goubet CLA 2010-08-18 05:58:38 EDT
The fix has been commited and will be available in 3.0.1RC2.
Comment 2 Laurent Goubet CLA 2010-08-18 06:00:22 EDT
Should have read "1.1.1RC2"