Topic
No replies
Pettax
Pettax
4 Posts
ACCEPTED ANSWER

Pinned topic Failed to integrate a GMF generated editor in RSA

‏2010-08-30T14:35:50Z |
Hi,

I'm trying to integrate a GMF generated editor in RSA 8.0 (on Windows 7). The editor works fine when running it in vanilla Eclipse. I've followed the steps outlined in the section "Integrating GMF generated editors" to make it appear in RSA on a FreeForm Diagram. When trying to place my first shape on the canvas it fails with the exception below. When looking at the EMF source it possibly indicates that the transactional edit domain is null. I cannot find any information on how to set or switch the transactional edit domain if this is the case. Anybody out there that has successfully integrated a GMF generated editor in RSA?

Thanks


org.eclipse.core.commands.ExecutionException: While executing the operation, an exception occurred
at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(Unknown Source)
at org.eclipse.gef.tools.AbstractTool.executeCommand(Unknown Source)
at org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.tools.CreationTool.performCreation(Unknown Source)
at org.eclipse.gef.tools.CreationTool.handleButtonUp(Unknown Source)
at org.eclipse.gef.tools.AbstractTool.mouseUp(Unknown Source)
at org.eclipse.gef.EditDomain.mouseUp(Unknown Source)
at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseReleased(Unknown Source)
at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseUp(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
at org.eclipse.ui.internal.Workbench$7.run(Unknown Source)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
at org.eclipse.equinox.launcher.Main.main(Unknown Source)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.workspace.AbstractEMFOperation.inheritedOptions(Unknown Source)
at org.eclipse.emf.workspace.AbstractEMFOperation.execute(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.commands.SemanticCreateCommand.doExecuteWithResult(Unknown Source)
at org.eclipse.gmf.runtime.common.core.command.AbstractCommand.execute(Unknown Source)
at org.eclipse.gmf.runtime.common.core.command.CompositeCommand.doExecuteWithResult(Unknown Source)
at org.eclipse.gmf.runtime.common.core.command.AbstractCommand.execute(Unknown Source)
at org.eclipse.gmf.runtime.common.core.command.CompositeCommand.doExecuteWithResult(Unknown Source)
at org.eclipse.gmf.runtime.common.core.command.AbstractCommand.execute(Unknown Source)
... 38 more