org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class java.util.Collections$UnmodifiableSet.

JIRA | Jochen Kemnade | 2 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Custom MapOfValuesConverter for dealing with key values containg restricted characters (., $)

    Google Groups | 1 year ago | Tom
    org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class com.frequentis.ps.persistence.mongo.integration.model.pojo.model.ComplexValue.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.bson.codecs.configuration.CodecConfigurationException

      Can't find a codec for class java.util.Collections$UnmodifiableSet.

      at org.bson.codecs.configuration.CodecCache.getOrThrow()
    2. MongoDB Java Driver
      DocumentCodec.writeValue
      1. org.bson.codecs.configuration.CodecCache.getOrThrow(CodecCache.java:46)
      2. org.bson.codecs.configuration.ProvidersCodecRegistry.get(ProvidersCodecRegistry.java:63)
      3. org.bson.codecs.configuration.ChildCodecRegistry.get(ChildCodecRegistry.java:51)
      4. org.bson.codecs.DocumentCodec.writeValue(DocumentCodec.java:174)
      5. org.bson.codecs.DocumentCodec.writeMap(DocumentCodec.java:189)
      6. org.bson.codecs.DocumentCodec.writeValue(DocumentCodec.java:172)
      6 frames