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

JIRA | Wendal Chen | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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
    3. org.nutz.ztask
      AllZTask.main
      1. org.nutz.ztask.AllZTask.main(AllZTask.java:35)
      1 frame