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

JIRA | William Delanoue | 2 years ago
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

    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
      1. com.mongodb.util.JSONCallback.objectDone(
      2. com.mongodb.util.JSONParser.parseObject(
      3. com.mongodb.util.JSONParser.parse(
      4. com.mongodb.util.JSONParser.parseObject(
      5. com.mongodb.util.JSONParser.parse(
      6. com.mongodb.util.JSONParser.parse(
      7. com.mongodb.util.JSON.parse(
      8. com.mongodb.util.JSON.parse(
      8 frames