org.bson.json.JsonParseException: JSON reader was expecting a value but found 'test'.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Jennifer007
, 1 year ago
JSON reader was expecting a value but found 'test'.
via Stack Overflow by akuma8
, 4 months ago
org.bson.json.JsonParseException: JSON reader was expecting a value but found 'test'.
at org.bson.json.JsonReader.readBsonType(JsonReader.java:228)
at org.bson.AbstractBsonReader.verifyBSONType(AbstractBsonReader.java:645)
at org.bson.AbstractBsonReader.checkPreconditions(AbstractBsonReader.java:687)
at org.bson.AbstractBsonReader.readStartDocument(AbstractBsonReader.java:421)
at org.bson.codecs.DocumentCodec.decode(DocumentCodec.java:138)
at org.bson.codecs.DocumentCodec.decode(DocumentCodec.java:45)
at org.bson.Document.parse(Document.java:105)
at org.bson.Document.parse(Document.java:90)

Users with the same issue

Once, 9 months ago

Write tip

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