ExcecutionException [message #635987] |
Thu, 28 October 2010 20:23 |
bachra04 Messages: 148 Registered: April 2010 |
Senior Member |
|
|
The following part of code :
Command cmd2 = CreateConnectionViewAndElementRequest.getCreateCommand(wireT ype, regpart,myPart, Acidpart.getDiagramPreferencesHint());
CompoundCommand cc2 = new CompoundCommand("Create connection");
cc2.add(cmd2);
regpart.getDiagramEditDomain().getDiagramCommandStack().exec ute(cc2);
I got an ExcecutionException caused by the following :
Caused by: org.eclipse.core.runtime.AssertionFailedException: null argument:failed to create a view
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
at org.eclipse.gmf.runtime.diagram.ui.commands.CreateCommand.do ExecuteWithResult(CreateCommand.java:99)
at org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTr ansactionalCommand.doExecute(AbstractTransactionalCommand.ja va:247)
at org.eclipse.emf.workspace.AbstractEMFOperation.execute(Abstr actEMFOperation.java:150)
at org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResult(CompositeCommand.java:403)
at org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:135)
at org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResult(CompositeCommand.java:403)
at org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:135)
at org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResult(CompositeCommand.java:403)
at org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:135)
at org.eclipse.core.commands.operations.DefaultOperationHistory .execute(DefaultOperationHistory.java:511)
... 33 more
Any idea what could be the reason and how to fix it ? or at least to hide it
|
|
|
Powered by
FUDForum. Page generated in 0.03363 seconds