org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class com.frequentis.ps.persistence.mongo.integration.model.pojo.model.ComplexValue.

Google Groups | Tom | 1 year ago
  1. 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.
  2. 0

    3.0.0 java driver throws org.bson.codecs.configuration.CodecConfigurationException

    GitHub | 2 years ago | marstonstudio
    org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class com.babelcentral.services.element.identity.Identity.
  3. 0

    Problems when persisting pojos with propertiets of delcared type "java.lang.Object"

    Google Groups | 1 year ago | Tom
    org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class com.XXX.persistence.mongo.integration.model.pojo.model.ComplexValue.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to save java.sql.date object in mongodb?

    Stack Overflow | 1 year ago | usman
    org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class java.sql.Date.

    5 unregistered visitors
    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 com.frequentis.ps.persistence.mongo.integration.model.pojo.model.ComplexValue.

      at org.bson.codecs.configuration.CodecCache.getOrThrow()
    2. MongoDB Java Driver
      DBCollection.save
      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.encodeMap(DBObjectCodec.java:220)
      6. com.mongodb.DBObjectCodec.writeValue(DBObjectCodec.java:196)
      7. com.mongodb.DBObjectCodec.encode(DBObjectCodec.java:128)
      8. com.mongodb.DBObjectCodec.encode(DBObjectCodec.java:61)
      9. com.mongodb.CompoundDBObjectCodec.encode(CompoundDBObjectCodec.java:48)
      10. com.mongodb.CompoundDBObjectCodec.encode(CompoundDBObjectCodec.java:27)
      11. org.bson.codecs.BsonDocumentWrapperCodec.encode(BsonDocumentWrapperCodec.java:63)
      12. org.bson.codecs.BsonDocumentWrapperCodec.encode(BsonDocumentWrapperCodec.java:29)
      13. com.mongodb.connection.RequestMessage.addDocument(RequestMessage.java:216)
      14. com.mongodb.connection.RequestMessage.addCollectibleDocument(RequestMessage.java:182)
      15. com.mongodb.connection.UpdateMessage.encodeMessageBody(UpdateMessage.java:66)
      16. com.mongodb.connection.RequestMessage.encode(RequestMessage.java:132)
      17. com.mongodb.connection.WriteProtocol.sendMessage(WriteProtocol.java:107)
      18. com.mongodb.connection.WriteProtocol.execute(WriteProtocol.java:59)
      19. com.mongodb.connection.UpdateProtocol.execute(UpdateProtocol.java:61)
      20. com.mongodb.connection.UpdateProtocol.execute(UpdateProtocol.java:36)
      21. com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:155)
      22. com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:219)
      23. com.mongodb.connection.DefaultServerConnection.update(DefaultServerConnection.java:84)
      24. com.mongodb.operation.UpdateOperation.executeProtocol(UpdateOperation.java:66)
      25. com.mongodb.operation.BaseWriteOperation$1.call(BaseWriteOperation.java:113)
      26. com.mongodb.operation.BaseWriteOperation$1.call(BaseWriteOperation.java:106)
      27. com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:186)
      28. com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:177)
      29. com.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:106)
      30. com.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:58)
      31. com.mongodb.Mongo.execute(Mongo.java:747)
      32. com.mongodb.Mongo$2.execute(Mongo.java:730)
      33. com.mongodb.DBCollection.executeWriteOperation(DBCollection.java:327)
      34. com.mongodb.DBCollection.replaceOrInsert(DBCollection.java:405)
      35. com.mongodb.DBCollection.save(DBCollection.java:394)
      35 frames
    3. Morphia
      DatastoreImpl.save
      1. org.mongodb.morphia.DatastoreImpl.save(DatastoreImpl.java:1006)
      2. org.mongodb.morphia.DatastoreImpl.save(DatastoreImpl.java:1080)
      3. org.mongodb.morphia.DatastoreImpl.save(DatastoreImpl.java:1063)
      3 frames