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

Bug 317166

Summary: Regression with ModelUtils.createResource in standalone
Product: [Modeling] EMFCompare Reporter: Laurent Goubet <laurent.goubet>
Component: CoreAssignee: EMF Compare <emf.compare-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 317269    

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"