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

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 org.bson.types.Symbol
at com.mongodb.util.JSON.serialize(JSON.java:261)
at com.mongodb.util.JSON.serialize(JSON.java:141)
at com.mongodb.util.JSON.serialize(JSON.java:58)
at com.mongodb.BasicDBObject.toString(BasicDBObject.java:84)
at org.nutz.ztask.AllZTask.main(AllZTask.java:35)

Users with the same issue

You are the first who have seen this exception.

Write tip

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