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

hadoop-hdfs-dev | Apache Jenkins Server | 5 years ago
  1. 0

    Hadoop-Hdfs-trunk - Build # 915 - Still Unstable

    hadoop-hdfs-dev | 5 years ago | Apache Jenkins Server
    java.lang.AssertionError: expected:<0> but was:<1>
  2. 0

    Hadoop-Hdfs-0.23-Build - Build # 128 - Unstable

    hadoop-hdfs-dev | 5 years ago | Apache Jenkins Server
    java.lang.AssertionError: expected:<0> but was:<1>
  3. 0

    compile failed

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

    Automated exception search integrated into your IDE

  5. 0

    [HDFS-3344] Unreliable corrupt blocks counting in TestProcessCorruptBlocks - ASF JIRA

    apache.org | 1 year ago
    java.lang.AssertionError: expected:<0> but was:<1>
  6. 0

    [egit-build] Build failed in Hudson: egit #2202

    eclipse.org | 1 year ago
    java.lang.AssertionError: expected:<0> but was:<1>

  1. fervidnerd 3 times, last 4 days ago
  2. davidvanlaatum 1 times, last 2 weeks ago
  3. andyglick 9 times, last 8 months ago
  4. WoodenDoors 3 times, last 8 months ago
  5. davidvanlaatum 103 times, last 9 months ago
32 unregistered visitors
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.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:91)
    2. org.junit.Assert.failNotEquals(Assert.java:645)
    3. org.junit.Assert.assertEquals(Assert.java:126)
    4. org.junit.Assert.assertEquals(Assert.java:470)
    5. org.junit.Assert.assertEquals(Assert.java:454)
    5 frames
  3. Hadoop
    ViewFileSystemBaseTest.testGetDelegationTokensWithCredentials
    1. org.apache.hadoop.fs.viewfs.ViewFileSystemBaseTest.testGetDelegationTokensWithCredentials(ViewFileSystemBaseTest.java:151)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    9. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    10. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    11. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    12. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    13. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    14. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    15. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    16. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    16 frames
  6. JUnit4 Provider
    JUnit4Provider.invoke
    1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
    2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
    3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  8. 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:81)
    5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
    5 frames