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

Bug 317407

Summary: Transactional editing domain may be be null preventing an editor from being created
Product: z_Archived Reporter: Jens Von Pilgrim <developer>
Component: Gef3dAssignee: Project Inbox <gef3d.examples-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Jens Von Pilgrim CLA 2010-06-21 05:07:11 EDT
When an UML editor is nested into a multi editor, it uses the default transactional editing domain of
the multi editor. However, it may occur that this domain has not been created, causing a NPE when initializing the nested editor:

java.lang.NullPointerException
at org.eclipse.gef3d.examples.uml2.activity.part.UMLActivityDiagramEditor3D$2.createEmptyDocument(UMLActivityDiagramEditor3D.java:444)
Comment 1 Jens Von Pilgrim CLA 2010-06-21 05:19:30 EDT
A factory for creating a transactional editing domain is registered in o.e.gef3d.gmf plugin.xml.
Comment 2 Jens Von Pilgrim CLA 2010-06-21 05:19:33 EDT
Created attachment 172311 [details]
mylyn/context/zip