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

Bug 317269

Summary: Regression with ModelUtils.createResource in standalone
Product: [Modeling] Acceleo Reporter: Laurent Goubet <laurent.goubet>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 317166    
Bug Blocks:    

Description Laurent Goubet CLA 2010-06-18 03:42:56 EDT
+++ This bug was initially created as a clone of Bug #317166 +++

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 Acceleo, 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-07-30 11:28:43 EDT
Fixed in the latest builds.