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

JIRA | William Delanoue | 2 years ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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