syncronisation error with diag partitioning? [message #484229] |
Fri, 04 September 2009 16:33 |
Bill Hinge Messages: 156 Registered: July 2009 |
Senior Member |
|
|
Hi
I'm getting the following NPE error
org.eclipse.emf.workspace.util.WorkspaceSynchronizer.getFile (WorkspaceSynchronizer.java:265)
I have an editor that is using a hybrid GMF-GEF domain, I click on a
node in the GMF editor to open a new sub editor. If I save my content
in the sub editor and move back to my main editors I get loads of
repeated NPE's occuring and the error dialog is very difficult to kill
However, the contents of my sub editor are saved in my main editors.
If I eventually manage to quit the editor and reopen the diagram
everything is OK until I try to do something else.
The nodes of my sub editor exist in my main diag file. The node I
click on is a subclass of an abstract superclass. Canvas map doesn't
allow abstract classes so I have had to create a sub editor for each
concrete sub class
Does the fact that my main editor shares an editing domain cause issues
ie I need to customise the GEF editor also?
As a test I tried the following...
I tried a different simple example GMF model with just a couple of nodes
and that works OK, the only thing being different is that in my complex
editor GMF & GEF have a common editing domain
regards
Steve
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03027 seconds