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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by bsideup
, 2 years ago
json can't serialize type : SomeEnumType au.org.aurin.workflow.datamodel.ComponentType
via Google Groups by Lincoln, 2 years ago
can't serialize type : class java.util.HashMap
java.lang.RuntimeException: json can't serialize type : class java.util.UUID
at com.mongodb.util.JSON.serialize(JSON.java:202)
at com.mongodb.util.JSON.serialize(JSON.java:109)
at com.mongodb.util.JSON.serialize(JSON.java:28)
at com.mongodb.BasicDBObject.toString(BasicDBObject.java:75)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.