org.junit.ComparisonFailure: expected:<{"type":"[Polygon]","coordinates":[[20...> but was:<{"type":"[Box]","coordinates":[[20...>

GitHub | seth-priya | 5 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

    GeoShapeTest failing on ubuntu 16.04

    GitHub | 5 months ago | seth-priya
    org.junit.ComparisonFailure: expected:<{"type":"[Polygon]","coordinates":[[20...> but was:<{"type":"[Box]","coordinates":[[20...>
  2. 0

    AlertingTest failing in json comparison

    GitHub | 3 years ago | sammefford
    org.junit.ComparisonFailure: expected:<...ule-metadata":null}}[]> but was:<...ule-metadata":null}}[ ]>
  3. 0

    Running the tests, deploying to an internal maven, & updating versions

    GitHub | 2 years ago | jtruelove
    org.junit.ComparisonFailure: expected:<[error]> but was:<[ok]>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cookies tests are flaky

    GitHub | 3 years ago | seato
    org.junit.ComparisonFailure: expected:<[GM]20527.group.on> but was:<[gm]20527.group.on>
  6. 0

    Cutting on stack call

    GitHub | 4 years ago | stanl3y
    org.junit.ComparisonFailure: expected:<[1.000 2.000 ]> but was:<[ 1.000 2.000 ]>

  1. jf-ast 1 times, last 3 weeks ago
  2. MoYapro 2 times, last 2 months ago
  3. richard77 2 times, last 2 months ago
  4. treefolk 2 times, last 2 months ago
  5. kjhdofjosvs 2 times, last 2 months ago
3 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:<{"type":"[Polygon]","coordinates":[[20...> but was:<{"type":"[Box]","coordinates":[[20...>

    at org.junit.Assert.assertEquals()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.assertEquals(Assert.java:115)
    2. org.junit.Assert.assertEquals(Assert.java:144)
    2 frames
  3. com.thinkaurelius.titan
    GeoshapeTest.testGeoJsonSerialization
    1. com.thinkaurelius.titan.graphdb.attribute.GeoshapeTest.testGeoJsonSerialization(GeoshapeTest.java:225)
    1 frame