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, 1 year ago
via GitHub by mickaelistria
, 5 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 bilalyasar
, 2 years ago
the size of the cluster is not correct expected:<3> but was:<2>
via GitHub by hasancelik
, 1 year ago
the size of the map is not correct expected:<10000> but was:<9999>
java.lang.AssertionError: Validation exception did not occur	at org.junit.Assert.fail(Assert.java:93)	at org.hibernate.test.c3p0.StatementCacheTest.testStatementCaching(StatementCacheTest.java:55)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)	at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:63)	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)