[EMF Transaction] Exception during closing a commited transaction [message #486644] |
Fri, 18 September 2009 13:42 |
Eclipse User |
|
|
|
Originally posted by: tim.baumgartner.innovations.de
Hi!
We are using EMF Transaction 1.2.3. Althaugh we don't use the transaction
objects internally created by the framework, a user of our API runs into the
following exception during command execution:
java.lang.IllegalArgumentException: Can only deactivate the active
transaction
at
org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.deactivate(TransactionalEditingDomainImpl.java:494)
at
org.eclipse.emf.transaction.impl.TransactionImpl.close(Trans actionImpl.java:623)
at
org.eclipse.emf.transaction.impl.TransactionImpl.commit(Tran sactionImpl.java:415)
at
org.eclipse.emf.workspace.AbstractEMFOperation.execute(Abstr actEMFOperation.java:172)
The user has not been able to reproduce this in a test case.
My question: are there any scenarios known that might lead to this
exception?
Regards,
Tim
|
|
|
|
Re: [EMF Transaction] Exception during closing a commited transaction [message #486706 is a reply to message #486702] |
Fri, 18 September 2009 16:11 |
Eclipse User |
|
|
|
Originally posted by: tim.baumgartner.innovations.de
Hi Ed,
> I guess it would be good to understand why the transaction being closed
> isn't the active one. Perhaps something is being done twice or being done
> recursively?
I don't think so but I can't be absolutely sure. The problem is that I don't
have access to all code and models necessary to reproduce.
When I posted, I hoped perhaps there is a typical problem known that leads
to this situation.
If I find and solve the real problem, I will post it.
Thanks,
Tim
|
|
|
Powered by
FUDForum. Page generated in 0.02965 seconds