org.junit.ComparisonFailure: expected:<"50[.]1st"> but was:<"50[,]1st">

GitHub | jazzdabbler | 3 months ago
  1. 0

    Build failure under locale with decimal comma

    GitHub | 3 months ago | jazzdabbler
    org.junit.ComparisonFailure: expected:<"50[.]1st"> but was:<"50[,]1st">
  2. 0

    Test failure ClassBundleReaderTest

    GitHub | 2 years ago | davidsowerby
    org.junit.ComparisonFailure: expected:<[tru]e> but was:<[fals]e>
  3. 0

    Time comparison failure - uk.q3c.krail.core.services.ServiceTest.monitorLogsStatusChange

    GitHub | 2 years ago | davidsowerby
    org.junit.ComparisonFailure: expected:<...15-02-14T14:08:02.17[9]> but was:<...15-02-14T14:08:02.17[8]>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java Test suite again fails on Mac OS X

    GitHub | 1 year ago | adamretter
    org.junit.ComparisonFailure: expected:<[1890906222]> but was:<[0]>
  6. 0

    GitHub comment 2166#174184644

    GitHub | 11 months ago | karlicoss
    org.junit.ComparisonFailure: [after] expected:<[FINISHED]> but was:<[RUNNING]>

  1. mhicauber 3 times, last 5 days ago
  2. tvrmsmith 1 times, last 1 week ago
  3. Nikolay Rybak 8 times, last 5 months ago
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. org.junit.ComparisonFailure

    expected:<"50[.]1st"> but was:<"50[,]1st">

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    DelegatingConstructorAccessorImpl.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    3 frames
  3. org.glowroot.storage
    AlertingServiceTest.shouldReturnCorrectPercentileName
    1. org.glowroot.storage.repo.helper.AlertingServiceTest.shouldReturnCorrectPercentileName(AlertingServiceTest.java:162)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  5. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    6. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    9. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    10. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    11. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    12. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    13. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    14. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    14 frames
  6. JUnit4 Provider
    JUnit4Provider.invoke
    1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
    2. org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
    3. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
    4. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
    4 frames
  7. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    3 frames