org.bson.BsonInvalidOperationException: readString can only be called when CurrentBSONType is STRING, not when CurrentBSONType is ARRAY.

sssslide.com | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Monocleとかいうのがありまして - SSSSLIDE

    sssslide.com | 10 months ago
    org.bson.BsonInvalidOperationException: readString can only be called when CurrentBSONType is STRING, not when CurrentBSONType is ARRAY.
  2. 0

    Monocleとかいうのがありまして

    slideshare.net | 10 months ago
    org.bson.BsonInvalidOperationException: readString can only be called when CurrentBSONType is STRING, not when CurrentBSONType is ARRAY.

    Root Cause Analysis

    1. org.bson.BsonInvalidOperationException

      readString can only be called when CurrentBSONType is STRING, not when CurrentBSONType is ARRAY.

      at org.bson.AbstractBsonReader.verifyBSONType()
    2. MongoDB Java Driver
      AbstractBsonReader.readString
      1. org.bson.AbstractBsonReader.verifyBSONType(AbstractBsonReader.java:655)
      2. org.bson.AbstractBsonReader.checkPreconditions(AbstractBsonReader.java:687)
      3. org.bson.AbstractBsonReader.readString(AbstractBsonReader.java:428)
      3 frames