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

Stack Overflow | Jennifer007 | 4 months ago
  1. 0

    Spring Boot - Insert .JSON file into MongoDB with Spring Boot

    Stack Overflow | 4 months ago | Jennifer007
    org.bson.json.JsonParseException: JSON reader was expecting a value but found 'test'.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Request/response debug logging

    GitHub | 6 months ago | thecodesmith
    org.bson.json.JsonParseException: Invalid JSON input. Position: 1. Character: '<'.

    Root Cause Analysis

    1. org.bson.json.JsonParseException

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

      at org.bson.json.JsonReader.readBsonType()
    2. MongoDB Java Driver
      Document.parse
      1. org.bson.json.JsonReader.readBsonType(JsonReader.java:228)[bson-3.2.2.jar:na]
      2. org.bson.AbstractBsonReader.verifyBSONType(AbstractBsonReader.java:645)[bson-3.2.2.jar:na]
      3. org.bson.AbstractBsonReader.checkPreconditions(AbstractBsonReader.java:687)[bson-3.2.2.jar:na]
      4. org.bson.AbstractBsonReader.readStartDocument(AbstractBsonReader.java:421)[bson-3.2.2.jar:na]
      5. org.bson.codecs.DocumentCodec.decode(DocumentCodec.java:138)[bson-3.2.2.jar:na]
      6. org.bson.codecs.DocumentCodec.decode(DocumentCodec.java:45)[bson-3.2.2.jar:na]
      7. org.bson.Document.parse(Document.java:105)[bson-3.2.2.jar:na]
      8. org.bson.Document.parse(Document.java:90)[bson-3.2.2.jar:na]
      8 frames