Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Error in GMF project(How to handle errors in GMF project)
Error in GMF project [message #755359] Tue, 08 November 2011 09:27 Go to next message
vinny503 Missing name is currently offline vinny503 Missing nameFriend
Messages: 156
Registered: August 2011
Senior Member
Hi All,

How do I handle the following error....



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.doExecuteWithResult(CreateCommand.java:99)
at org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand.doExecute(AbstractTransactionalCommand.java:247)
at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.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)
... 37 more


Thanks,
Vinay

[Updated on: Tue, 08 November 2011 09:29]

Report message to a moderator

Re: Error in GMF project [message #755361 is a reply to message #755359] Tue, 08 November 2011 09:28 Go to previous messageGo to next message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

can you explain a little bit more about the context of your issue please?
What is the root cause of the exception?

Regards,


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Re: Error in GMF project [message #755389 is a reply to message #755361] Tue, 08 November 2011 10:44 Go to previous messageGo to next message
vinny503 Missing name is currently offline vinny503 Missing nameFriend
Messages: 156
Registered: August 2011
Senior Member
Hi,

The error comes out when I do a drag and drop of component node from palette on to the editor, Nothing comes on the editor...


Thanks,
Vinay
Re: Error in GMF project [message #755393 is a reply to message #755389] Tue, 08 November 2011 10:53 Go to previous message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

so it means that there is a condition that doesn't allow you to drop the component or there is an issue during the creation of the element. You can try to look into CreationEditPolicy.

Regards,


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Previous Topic:Setting Node name as it is set in the palette in GMF Editor
Next Topic:no live validation pop-up window in RCP generated product
Goto Forum:
  


Current Time: Tue Apr 23 15:26:07 GMT 2024

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

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

Back to the top