java.lang.AssertionError: Expected :18858823439613958 Actual :18858823439613960

json-lib | mspolari | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Loss of Precision Reading Long Values > 2^53 On JSONObject

    json-lib | 2 years ago | mspolari
    java.lang.AssertionError: Expected :18858823439613958 Actual :18858823439613960

    Root Cause Analysis

    1. java.lang.AssertionError

      Expected :18858823439613958 Actual :18858823439613960

      at com.savagebeast.test.JSONTest.testJSONLongPrecision()
    2. com.savagebeast.test
      JSONTest.testJSONLongPrecision
      1. com.savagebeast.test.JSONTest.testJSONLongPrecision(JSONTest.java:19)
      1 frame
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame
    4. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:78)
      1 frame
    5. IDEA
      AppMain.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68)
      3. com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
      3 frames