Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #495129 +++ The context is in EcoreTools + Sirius 4.0.0 . The problem might not be that visible in other contexts, ecoretools is a bit special in this regard. In EcoreTools some model elements are resolved from the EcoreRegistry and might not come from the session's resourceSet : most notably datatypes from Ecore.ecore itself. In such a case EditingDomainServices.getEditingDomain(EObject) fails to retrieve any editing domain on this object and as such most of the services will fail later one because of the lack of AdapterFactory for those objects.
Cloned to report the fix in Sirius 4.0.1.
Fixed by 70732e47a4ea7fd774852162ce8b921f2284a2d8.
Available in Sirius 4.0.1. See https://wiki.eclipse.org/Sirius/4.0.1.