Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » ExcecutionException
ExcecutionException [message #635987] Thu, 28 October 2010 20:23
bachra04  is currently offline bachra04 Friend
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
Previous Topic:standard user interactions in GEF ?
Next Topic:Learn GEF at $499 - Online Training Introductory Offer
Goto Forum:
  


Current Time: Sat Apr 27 02:00:03 GMT 2024

Powered by FUDForum. Page generated in 0.03363 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top