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

  1. ,

    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.

  2. ,

    Check your assert declaration and the method implementation with the condition.

Solutions on the web

via Hibernate JIRA by Hardy Ferentschik, 1 year ago
via Hibernate JIRA by Hardy Ferentschik, 2 years ago
via GitHub by mickaelistria
, 9 months ago
Frameworks list is not loaded corret: array lengths differed, expected.length=2 actual.length=1
via GitHub by jitsni
, 1 year ago
Log messages were not as expected - the following patterns of log messages were not logged: [tcp#.*CLOSED, wsn#.*CLOSED], only these were logged: [http#.*CLOSED, http#.*OPENED, tcp#.*OPENED, tcp#.*RECEIVED, tcp#.*WRITE, wsn#.*OPENED, wsn#.*RECEIVED, wsn#.*WRITE]
via GitHub by hasancelik
, 2 years ago
the size of the map is not correct expected:<10000> but was:<9999>
via GitHub by bilalyasar
, 2 years ago
the size of the cluster is not correct expected:<3> but was:<2>
java.lang.AssertionError: Validation exception did not occur at at org.hibernate.test.c3p0.StatementCacheTest.testStatementCaching( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall( at at org.junit.runners.model.FrameworkMethod.invokeExplosively( at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively( at org.junit.internal.runners.statements.InvokeMethod.evaluate( at org.junit.internal.runners.statements.RunBefores.evaluate( at org.junit.internal.runners.statements.RunAfters.evaluate( at org.junit.internal.runners.statements.FailOnTimeout$