java.lang.RuntimeException: json can't serialize type : class java.util.UUID

JIRA | Sebastian Annies | 6 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. 0

    com.mongodb.util.JSON.serialize does not support UUID [moved]

    GitHub | 4 years ago | jyemin
    java.lang.RuntimeException: json can't serialize type : class java.util.UUID
  2. 0

    KunderaMongo - Issues with JSON Serialization

    GitHub | 3 years ago | pdirksen
    java.lang.RuntimeException: json can't serialize type : class de.cebitec.gendb.persistence.TestFeature
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    KunderaMongo 2.8, JPQL query with enum

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

    Serialization error when List is passed as argument to eqs, neq

    GitHub | 5 years ago | nfolkert-foursquare
    java.lang.RuntimeException: json can't serialize type : class scala.collection.immutable.Nil$

    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 java.util.UUID

      at com.mongodb.util.JSON.serialize()
    2. MongoDB Java Driver
      BasicDBObject.toString
      1. com.mongodb.util.JSON.serialize(JSON.java:202)
      2. com.mongodb.util.JSON.serialize(JSON.java:109)
      3. com.mongodb.util.JSON.serialize(JSON.java:28)
      4. com.mongodb.BasicDBObject.toString(BasicDBObject.java:75)
      4 frames