java.lang.AssertionError: a transaction is already active on this connection.
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
Samebug tips
My guess is there is some kind of static state in the code being tested or in the test itself, so the tests aren't isolated. Adding the test changes the test order. In any case, your best course of action is to use the debugger to see why the tests fail.
Check your assert declaration and the method implementation with the condition.
Solutions on the web
via GitHub by jeenbroekstra
, 1 year agovia GitHub by jeenbroekstra
, 1 year agovia Stack Overflow by Unknown author, 2 years ago
via Stack Overflow by nizar ouerghi
, 2 years agovia ne.jp by Unknown author, 1 year ago
java.lang.AssertionError: a transaction is already active on this connection.
at org.junit.Assert.fail(Assert.java:88)
at org.openrdf.sail.RDFStoreTest$1.run(RDFStoreTest.java:764)
at java.lang.Thread.run(Thread.java:745)