expected:<22> but was:<0>

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web1666

  • via Sonatype JIRA by Peter Lynch, 1 year ago
    expected:<22> but was:<0>
  • expected:<22> but was:<29>
  • expected:<0> but was:<>
  • Stack trace

    • junit.framework.AssertionFailedError: expected:<22> but was:<0> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:280) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:198) at junit.framework.Assert.assertEquals(Assert.java:204) at org.sonatype.nexus.plugins.rest.SimpleDocumentationNexusResourceBundleTest.testDoc(SimpleDocumentationNexusResourceBundleTest.java:35)

    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

    3 times, 3 months ago
    Unknown user
    Once, 4 months ago
    Unknown user
    Once, 10 months ago
    2 times, 10 months ago
    Unknown user
    Once, 1 year ago
    27 more bugmates