org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class com.babelcentral.services.element.identity.Identity.

Google Groups | Jonathan Marston | 2 years 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

    Morphia working with mongo-java-driver 3.0.0 and wiredTiger?

    Google Groups | 2 years ago | Jonathan Marston
    org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class com.babelcentral.services.element.identity.Identity.

    Root Cause Analysis

    1. org.bson.codecs.configuration.CodecConfigurationException

      Can't find a codec for class com.babelcentral.services.element.identity.Identity.

      at org.bson.codecs.configuration.CodecCache.getOrThrow()
    2. MongoDB Java Driver
      DBObjectCodec.encode
      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.ProvidersCodecRegistry.get(ProvidersCodecRegistry.java:37)
      4. com.mongodb.DBObjectCodec.writeValue(DBObjectCodec.java:210)
      5. com.mongodb.DBObjectCodec.encodeIterable(DBObjectCodec.java:269)
      6. com.mongodb.DBObjectCodec.writeValue(DBObjectCodec.java:196)
      7. com.mongodb.DBObjectCodec.encode(DBObjectCodec.java:128)
      8. com.mongodb.DBObjectCodec.encode(DBObjectCodec.java:61)
      8 frames