Copy&Paste doesn't work anymore [message #147883] |
Mon, 27 August 2007 09:15 |
Eclipse User |
|
|
|
Originally posted by: oemer.yildiz.semanticedge.com
Hi.
I have a problem in my diagram editor. Copy&Paste of elements used to
work fine, but now it doesn't. I don't know how that happened, but the
problem seems to be, that no "xmi:id" attribute gets assigned to
semantic model elements anymore. I'm getting the following stack trace,
when i try to copy one or more elements:
java.lang.AssertionError: eObject.eResource not same as self
at
org.eclipse.gmf.runtime.emf.clipboard.core.internal.SavingEM FResource.getID(SavingEMFResource.java:329)
at
org.eclipse.gmf.runtime.emf.clipboard.core.internal.Resource InfoProcessor.processEObject(ResourceInfoProcessor.java:190)
at
org.eclipse.gmf.runtime.emf.clipboard.core.internal.Resource InfoProcessor.getResourceInfo(ResourceInfoProcessor.java:300 )
at
org.eclipse.gmf.runtime.emf.clipboard.core.CopyOperation.sav eEObjects(CopyOperation.java:150)
at
org.eclipse.gmf.runtime.emf.clipboard.core.CopyOperation.doC opy(CopyOperation.java:128)
at
org.eclipse.gmf.runtime.emf.clipboard.core.CopyOperation.cop y(CopyOperation.java:118)
at
org.eclipse.gmf.runtime.emf.clipboard.core.ClipboardUtil.cop yElementsToString(ClipboardUtil.java:158)
at
org.eclipse.gmf.runtime.diagram.ui.internal.commands.Clipboa rdCommand.copyViewsToString(ClipboardCommand.java:150)
at
org.eclipse.gmf.runtime.diagram.ui.render.internal.commands. CopyImageCommand.doExecuteWithResult(CopyImageCommand.java:1 40)
at
org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:134)
at
org.eclipse.core.commands.operations.DefaultOperationHistory .execute(DefaultOperationHistory.java:511)
....
Could anybody give me some hints on how to resolve this problem?
Best regards,
Ömer Yildiz
|
|
|
Powered by
FUDForum. Page generated in 0.03476 seconds