java.lang.RuntimeException: json can't serialize type : class org.bson.types.Symbol

JIRA | Alexander Azarov | 5 years ago
tip
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.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    KunderaMongo 2.8, JPQL query with enum

    GitHub | 3 years ago | bsideup
    java.lang.RuntimeException: json can't serialize type : SomeEnumType au.org.aurin.workflow.datamodel.ComponentType

    3 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. java.lang.RuntimeException

      json can't serialize type : class org.bson.types.Symbol

      at com.mongodb.util.JSON.serialize()
    2. MongoDB Java Driver
      BasicDBObject.toString
      1. com.mongodb.util.JSON.serialize(JSON.java:261)
      2. com.mongodb.util.JSON.serialize(JSON.java:141)
      3. com.mongodb.util.JSON.serialize(JSON.java:58)
      4. com.mongodb.BasicDBObject.toString(BasicDBObject.java:84)
      4 frames