com.fasterxml.jackson.core.JsonGenerationException: BsonSerializer can only be used with BsonGenerator

GitHub | cowtowncoder | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 67#244161836

    GitHub | 8 months ago | cowtowncoder
    com.fasterxml.jackson.core.JsonGenerationException: BsonSerializer can only be used with BsonGenerator
  2. 0

    Error when trying to deserialize BSON into a EXISTING_PROPERTY polymorphic class

    GitHub | 8 months ago | jonpeterson
    com.fasterxml.jackson.core.JsonGenerationException: BsonSerializer can only be used with BsonGenerator

    Root Cause Analysis

    1. com.fasterxml.jackson.core.JsonGenerationException

      BsonSerializer can only be used with BsonGenerator

      at de.undercouch.bson4jackson.serializers.BsonSerializer.serialize()
    2. bson4jackson
      BsonSerializer.serialize
      1. de.undercouch.bson4jackson.serializers.BsonSerializer.serialize(BsonSerializer.java:37)
      1 frame