Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317269 - Regression with ModelUtils.createResource in standalone
Summary: Regression with ModelUtils.createResource in standalone
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 317166
Blocks:
  Show dependency tree
 
Reported: 2010-06-18 03:42 EDT by Laurent Goubet CLA
Modified: 2010-07-30 11:28 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-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.