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. ,
    Expert tip

    Check your pattern declaration or check your assert declaration.

  2. ,

    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.

Solutions on the web

via JIRA by Søren Vejrup Carlsen, 5 months ago
Number of listeners on queue [Queue 'DEV_TWO_ANY_BA'] should be 1 before upload. expected:<1> but was:<0>
via Google Groups by Rajini Sivaram, 4 months ago
expected:<5> but was:<1>
via wicket-dev by Martin Grigorov, 2 months ago
via GitHub by Frank-Bradley
, 2 years ago
i: 1 expected: but was:
via wicket-dev by Maxim Solodovnik, 2 months ago
java.lang.AssertionError: Number of listeners on queue [Queue 'DEV_TWO_ANY_BA'] should be 1 before upload. expected:<1> but was:<0> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:555) at dk.netarkivet.archive.bitarchive.distribute.BitarchiveServerTester.testVisitUploadMessage(BitarchiveServerTester.java:184)