java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer

JIRA | William Delanoue | 2 years ago
  1. 0
    When you have no build parameters, uncheck 'This build is parameterized'
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    GitHub comment 24#110933851

    GitHub | 2 years ago | aperezdc
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

    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.ClassCastException

      java.lang.String cannot be cast to java.lang.Integer

      at com.mongodb.util.JSONCallback.objectDone()
    2. MongoDB Java Driver
      JSON.parse
      1. com.mongodb.util.JSONCallback.objectDone(JSONCallback.java:127)
      2. com.mongodb.util.JSONParser.parseObject(JSON.java:274)
      3. com.mongodb.util.JSONParser.parse(JSON.java:227)
      4. com.mongodb.util.JSONParser.parseObject(JSON.java:263)
      5. com.mongodb.util.JSONParser.parse(JSON.java:227)
      6. com.mongodb.util.JSONParser.parse(JSON.java:155)
      7. com.mongodb.util.JSON.parse(JSON.java:92)
      8. com.mongodb.util.JSON.parse(JSON.java:73)
      8 frames