expected:<17> but was:<3>

Samebug tips1

Check your pattern declaration or check your assert declaration.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3571

  • via Unknown by Ceki Gulcu,
  • via Unknown by Ceki Gülcü,
  • via Unknown by Ceki Gulcu,
  • Stack trace

    • java.lang.AssertionError: expected:<17> but was:<3> at at org.junit.Assert.failNotEquals( at org.junit.Assert.assertEquals( at org.junit.Assert.assertEquals( at org.junit.Assert.assertEquals( at org.slf4j.impl.MultithreadedInitializationTest.multiThreadedInitialization( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke(

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    5 times, last one
    3 times, last one
    98 more bugmates