java.lang.AssertionError: expected:<0> but was:<1>

Sonatype JIRA | Benjamin Hanzelmann | 4 years ago
  1. 0

    Regression org.sonatype.nexus.integrationtests.nexus570.Nexus570IndexArchetypeIT.searchForArchetype (from Nexus570IndexArchetypeIT) https://builds.sonatype.org/job/nexus-oss-its/335/jdk=java-6x,label=linux/testReport/junit/org.sonatype.nexus.integrationtests.nexus570/Nexus570IndexArchetypeIT/searchForArchetype/ {code} Error Message expected:&lt;0&gt; but was:&lt;1&gt; Stacktrace java.lang.AssertionError: expected:<0> but was:<1> at org.sonatype.nexus.integrationtests.nexus570.Nexus570IndexArchetypeIT.searchForArchetype(Nexus570IndexArchetypeIT.java:41) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ... Removed 31 stack frames {code}

    Sonatype JIRA | 4 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: expected:<0> but was:<1>
  2. 0

    [TEST-FAILURE] BasicMapTest.testMapLoaderLoadUpdatingIndex

    GitHub | 2 years ago | bilalyasar
    java.lang.AssertionError: expected:<1> but was:<0>
  3. 0

    GitHub comment 2656#217077229

    GitHub | 7 months ago | gianm
    java.lang.AssertionError: expected:<1> but was:<0>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug in Evaluator.AttributeWithValue

    GitHub | 2 years ago | savatgithub
    java.lang.AssertionError: expected:[1] but was:[0]
  6. 0

    GitHub comment 5453#167740565

    GitHub | 11 months ago | hasancelik
    java.lang.AssertionError: expected:<1> but was:<0>

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      expected:<0> but was:<1>

      at org.sonatype.nexus.integrationtests.nexus570.Nexus570IndexArchetypeIT.searchForArchetype()
    2. org.sonatype.nexus
      Nexus570IndexArchetypeIT.searchForArchetype
      1. org.sonatype.nexus.integrationtests.nexus570.Nexus570IndexArchetypeIT.searchForArchetype(Nexus570IndexArchetypeIT.java:41)
      1 frame
    3. org.apache.maven
      TestNGProvider.invoke
      1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
      2. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158)
      3. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98)
      4. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
      4 frames
    4. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      3. org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
      4. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
      5 frames