[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] [EMF Transaction] Exception during closing a commited transaction

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.TransactionalEditingDomainImpl.deactivate(TransactionalEditingDomainImpl.java:494)

      at 
org.eclipse.emf.transaction.impl.TransactionImpl.close(TransactionImpl.java:623)

      at 
org.eclipse.emf.transaction.impl.TransactionImpl.commit(TransactionImpl.java:415)

      at 
org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.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