org.bson.codecs.configuration.CodecConfigurationException

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

Samebug tips2

Current Spark-Mongodb does not support 3.x mongo drivers. Use long instead of Date until it is upgraded.

Current Spark-Mongodb does not support 3.x mongo drivers. Use long instead of Date until it is upgraded.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web46

  • via Google Groups by Jonathan Marston, 7 months ago
    Can't find a codec for class com.babelcentral.services.element.identity.Identity.
  • Can't find a codec for class com.babelcentral.services.element.identity.Identity.
  • Can't find a codec for class java.sql.Date.
  • Stack trace

    • 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(CodecCache.java:46) at org.bson.codecs.configuration.ProvidersCodecRegistry.get(ProvidersCodecRegistry.java:63) at org.bson.codecs.configuration.ProvidersCodecRegistry.get(ProvidersCodecRegistry.java:37) at com.mongodb.DBObjectCodec.writeValue(DBObjectCodec.java:210) at com.mongodb.DBObjectCodec.encodeIterable(DBObjectCodec.java:269) at com.mongodb.DBObjectCodec.writeValue(DBObjectCodec.java:196) at com.mongodb.DBObjectCodec.encode(DBObjectCodec.java:128) at com.mongodb.DBObjectCodec.encode(DBObjectCodec.java:61)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    6 times, 3 months ago
    2 times, 5 months ago
    Once, 5 months ago
    Unknown user
    Once, 7 months ago
    Unknown user
    Once, 9 months ago
    31 more bugmates