kodo.util.UserException: Can only perform operation while a transaction is active.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
Can only perform operation while a transaction is active.
via Oracle Community by 3004, 1 year ago
Can only perform operation while a transaction is active.
via Oracle Community by 3004, 6 months ago
Can only perform operation while a transaction is active.
via Oracle Community by 3004, 1 year ago
Can only perform operation while a transaction is active.
via Oracle Community by 3004, 1 year ago
Can only perform operation while a transaction is active.
via Oracle Community by 3004, 1 year ago
Can only perform operation while a transaction is active.
kodo.util.UserException: Can only perform operation while a transaction is active.
at kodo.runtime.PersistenceManagerImpl.assertActiveTransaction(PersistenceManagerImpl.java:3602)
at kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.java:840)
at kodo.runtime.LocalManagedRuntime.rollback(LocalManagedRuntime.java:125)
at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:101)
at kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:542)
at com.peacetech.test.jdo.TestJDOHelper.commitTransaction(TestJDOHelper.java:40)
at com.peacetech.test.HorizontalTest.insert(HorizontalTest.java:57)
at com.peacetech.test.HorizontalTest.main(HorizontalTest.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:495)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.