0

When i drag and drop a node with GMF application nothing is drawn and i have this exception org.eclipse.core.commands.ExecutionException: While executing the operation, an exception occurred at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:521) at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:206) at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:169) at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:156) at org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTool.java:425) Any help is highly appreciated.

4

1 回答 1

0

它只是意味着在命令执行期间发生了异常。命令通常在放置时执行。我认为你的堆栈跟踪中应该有一个嵌套原因异常,看看那个异常是什么会很有趣。在任何情况下,您都应该调试它并查看正在执行的命令类型,并查看究竟是什么引发了异常。

于 2015-02-19T15:53:34.900 回答