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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by pmadrigal

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

,
via github.com by Unknown author

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

Solutions on the web

via Google Groups by Tom, 1 year ago
Can't find a codec for class com.frequentis.ps.persistence.mongo.integration.model.pojo.model.ComplexValue.
via Stack Overflow by Furquan Ahmed
, 6 months ago
via GitHub by Pscheidl
, 10 months ago
Can't find a codec for class java.math.BigDecimal.
via JIRA by Alexander Azarov, 1 year ago
Can't find a codec for class java.sql.Timestamp.
via GitHub by xingzhefeng
, 4 months ago
Can't find a codec for class java.math.BigDecimal.
via JIRA by Alexander Azarov, 1 year ago
Can't find a codec for class java.sql.Timestamp.
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(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.encodeMap(DBObjectCodec.java:220)
at com.mongodb.DBObjectCodec.writeValue(DBObjectCodec.java:196)
at com.mongodb.DBObjectCodec.encode(DBObjectCodec.java:128)
at com.mongodb.DBObjectCodec.encode(DBObjectCodec.java:61)
at com.mongodb.CompoundDBObjectCodec.encode(CompoundDBObjectCodec.java:48)
at com.mongodb.CompoundDBObjectCodec.encode(CompoundDBObjectCodec.java:27)
at org.bson.codecs.BsonDocumentWrapperCodec.encode(BsonDocumentWrapperCodec.java:63)
at org.bson.codecs.BsonDocumentWrapperCodec.encode(BsonDocumentWrapperCodec.java:29)
at com.mongodb.connection.RequestMessage.addDocument(RequestMessage.java:216)
at com.mongodb.connection.RequestMessage.addCollectibleDocument(RequestMessage.java:182)
at com.mongodb.connection.UpdateMessage.encodeMessageBody(UpdateMessage.java:66)
at com.mongodb.connection.RequestMessage.encode(RequestMessage.java:132)
at com.mongodb.connection.WriteProtocol.sendMessage(WriteProtocol.java:107)
at com.mongodb.connection.WriteProtocol.execute(WriteProtocol.java:59)
at com.mongodb.connection.UpdateProtocol.execute(UpdateProtocol.java:61)
at com.mongodb.connection.UpdateProtocol.execute(UpdateProtocol.java:36)
at com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:155)
at com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:219)
at com.mongodb.connection.DefaultServerConnection.update(DefaultServerConnection.java:84)
at com.mongodb.operation.UpdateOperation.executeProtocol(UpdateOperation.java:66)
at com.mongodb.operation.BaseWriteOperation$1.call(BaseWriteOperation.java:113)
at com.mongodb.operation.BaseWriteOperation$1.call(BaseWriteOperation.java:106)
at com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:186)
at com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:177)
at com.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:106)
at com.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:58)
at com.mongodb.Mongo.execute(Mongo.java:747)
at com.mongodb.Mongo$2.execute(Mongo.java:730)
at com.mongodb.DBCollection.executeWriteOperation(DBCollection.java:327)
at com.mongodb.DBCollection.replaceOrInsert(DBCollection.java:405)
at com.mongodb.DBCollection.save(DBCollection.java:394)
at org.mongodb.morphia.DatastoreImpl.save(DatastoreImpl.java:1006)
at org.mongodb.morphia.DatastoreImpl.save(DatastoreImpl.java:1080)
at org.mongodb.morphia.DatastoreImpl.save(DatastoreImpl.java:1063)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
33 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.