Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » [TENEO] Reference Based Links
[TENEO] Reference Based Links [message #671356] Tue, 17 May 2011 15:41 Go to next message
Joao S is currently offline Joao SFriend
Messages: 51
Registered: January 2011
Member
Hello Everyone,

I have some Reference Based Links im my GMF Diagram Editor.

When I create a new Diagram, I´m able to create and delete these links normally. However, When I open a saved Diagram I´m no longer able to delete these links.

Doing some debugs in the DeleteCommand class I found out that eObject.eResource() returns null.

Does anyone has any clue about why it cant find the resource?

I´m using Teneo to persit the diagrams in a database.

Thanks,
Joao
Re: [TENEO] Reference Based Links [message #671653 is a reply to message #671356] Wed, 18 May 2011 15:16 Go to previous message
Joao S is currently offline Joao SFriend
Messages: 51
Registered: January 2011
Member
Hello again,

Here´s some more information about this issue.

My reference based links are 1:1 relations.

I´m getting exceptions like:

"not-null property references a null or transient value" (maybe this is a hibernate specific issue).

Trying to move the links around also throws an exception:

Caused by: java.lang.NullPointerException
	at org.eclipse.gmf.runtime.diagram.ui.internal.commands.SetConnectionBendpointsCommand.doExecuteWithResult(SetConnectionBendpointsCommand.java:164)
	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.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:511)
	... 37 more


Any idea?

Thanks,
Joao
Previous Topic:Open Editor from DB
Next Topic:(no subject)
Goto Forum:
  


Current Time: Sat Apr 27 00:53:09 GMT 2024

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

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

Back to the top