org.bson.json.JsonParseException

JSON reader was expecting a value but found 'test'.

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

Stack trace

  • org.bson.json.JsonParseException: JSON reader was expecting a value but found 'test'. at org.bson.json.JsonReader.readBsonType(JsonReader.java:228)[bson-3.2.2.jar:na] at org.bson.AbstractBsonReader.verifyBSONType(AbstractBsonReader.java:645)[bson-3.2.2.jar:na] at org.bson.AbstractBsonReader.checkPreconditions(AbstractBsonReader.java:687)[bson-3.2.2.jar:na] at org.bson.AbstractBsonReader.readStartDocument(AbstractBsonReader.java:421)[bson-3.2.2.jar:na] at org.bson.codecs.DocumentCodec.decode(DocumentCodec.java:138)[bson-3.2.2.jar:na] at org.bson.codecs.DocumentCodec.decode(DocumentCodec.java:45)[bson-3.2.2.jar:na] at org.bson.Document.parse(Document.java:105)[bson-3.2.2.jar:na] at org.bson.Document.parse(Document.java:90)[bson-3.2.2.jar:na]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Alireza MohamadiAlireza Mohamadi
1 times, last one,