[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.technology.gmf] Re: Load/Save Synchronisation

When diagram 2 is changed, any parent diagrams as well as the diagrams 
siblings, if they are currently open in the editor are marked as dirty and 
when any of the open diagrams are saved, then all diagrams are saved.  This 
is ok if all the relevnt diagrams are currently open.  If there is a related 
diagram that is closed, it will not be updated and when these diagrams are 
opened, I recieve an error:

java.lang.NullPointerException
 at 
org.eclipse.emf.transaction.util.TransactionUtil.getEditingDomain(TransactionUtil.java:50)
 at 
org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.DiagramModificationListener.<init>(DiagramModificationListener.java:52)
 at 
org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document.FileDiagramModificationListener.<init>(FileDiagramModificationListener.java:53)
......

Any suggestions on how to avoid this?