Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317407 - Transactional editing domain may be be null preventing an editor from being created
Summary: Transactional editing domain may be be null preventing an editor from being c...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Gef3d (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-21 05:07 EDT by Jens Von Pilgrim CLA
Modified: 2021-03-23 18:16 EDT (History)
0 users

See Also:


Attachments
mylyn/context/zip (11.90 KB, application/octet-stream)
2010-06-21 05:19 EDT, Jens Von Pilgrim CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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