org.junit.ComparisonFailure: expected:<[9]> but was:<[NaN]>

GitHub | zheins | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 1415#229457186

    GitHub | 10 months ago | zheins
    org.junit.ComparisonFailure: expected:<[9]> but was:<[NaN]>
  2. 0

    Test failure in Windows 7: ConfigTest.testGetDir()

    GitHub | 6 years ago | martincastell
    org.junit.ComparisonFailure: expected:<target[/]indexes> but was:<target[\]indexes>
  3. 0

    CustomerRegisterValidateTest#testCustomerRegisterRequiredValidate is failed when locale is English(en).

    GitHub | 3 years ago | kazuki43zoo
    org.junit.ComparisonFailure: expected:<Job [ ]is required.> but was:<Job []is required.>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    2 tests failing on Mac build, not in Travis (Linux)

    GitHub | 4 years ago | nimeacuerdo
    org.junit.ComparisonFailure: expected:<...atrixColorFilter<1,0[,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,]0>> but was:<...atrixColorFilter<1,0[0,0,00,0,00,0,00,0,00,0,00,1,00,0,00,0,00, 0,00,0,00,0,00,1,00,0,00,0,00,0,00,0,00,0,00,1,00,0,0]0>>
  6. 0

    FNFileTest fails (on Mac OS X)

    GitHub | 6 years ago | hhverweij
    org.junit.ComparisonFailure: expected:&lt;/[private/]var/folders/9l/9loui...&gt; but was:&lt;/[]var/folders/9l/9loui...&gt;

  1. jf-ast 3 times, last 1 week ago
  2. Casper 1 times, last 2 weeks ago
  3. Dunmer 74 times, last 3 weeks ago
  4. Brian Oxley 7 times, last 3 weeks ago
  5. iferca 2 times, last 4 weeks ago
8 more registered users
7 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. org.junit.ComparisonFailure

    expected:<[9]> but was:<[NaN]>

    at org.junit.Assert.assertEquals()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.assertEquals(Assert.java:123)
    2. org.junit.Assert.assertEquals(Assert.java:145)
    2 frames