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

  1. ,
    via GitHub by pmadrigal

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

  2. ,
    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 JIRA by Alexander Azarov, 1 year ago
Can't find a codec for class java.sql.Timestamp.
via JIRA by Alexander Azarov, 1 year ago
Can't find a codec for class java.sql.Timestamp.
via GitHub by xingzhefeng
, 7 months ago
Can't find a codec for class java.math.BigDecimal.
via Stack Overflow by Furquan Ahmed
, 9 months ago
via GitHub by Pscheidl
, 1 year ago
Can't find a codec for class java.math.BigDecimal.
via Google Groups by Jonathan Marston, 1 year ago
Can't find a codec for class com.babelcentral.services.element.identity.Identity.
org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class java.sql.Timestamp.	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 org.bson.codecs.BsonDocumentWrapperCodec.encode(BsonDocumentWrapperCodec.java:63)	at org.bson.codecs.BsonDocumentWrapperCodec.encode(BsonDocumentWrapperCodec.java:29)	at com.mongodb.connection.UpdateCommandMessage.writeTheWrites(UpdateCommandMessage.java:80)	at com.mongodb.connection.UpdateCommandMessage.writeTheWrites(UpdateCommandMessage.java:42)	at com.mongodb.connection.BaseWriteCommandMessage.encodeMessageBodyWithMetadata(BaseWriteCommandMessage.java:129)	at com.mongodb.connection.RequestMessage.encodeWithMetadata(RequestMessage.java:160)	at com.mongodb.connection.WriteCommandProtocol.sendMessage(WriteCommandProtocol.java:212)	at com.mongodb.connection.WriteCommandProtocol.execute(WriteCommandProtocol.java:101)	at com.mongodb.connection.UpdateCommandProtocol.execute(UpdateCommandProtocol.java:64)	at com.mongodb.connection.UpdateCommandProtocol.execute(UpdateCommandProtocol.java:37)	at com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:159)	at com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:286)	at com.mongodb.connection.DefaultServerConnection.updateCommand(DefaultServerConnection.java:140)	at com.mongodb.operation.UpdateOperation.executeCommandProtocol(UpdateOperation.java:76)	at com.mongodb.operation.BaseWriteOperation$1.call(BaseWriteOperation.java:141)	at com.mongodb.operation.BaseWriteOperation$1.call(BaseWriteOperation.java:133)	at com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:230)	at com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:221)	at com.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:133)	at com.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:60)	at com.mongodb.Mongo.execute(Mongo.java:782)	at com.mongodb.Mongo$2.execute(Mongo.java:765)	at com.mongodb.DBCollection.executeWriteOperation(DBCollection.java:333)	at com.mongodb.DBCollection.updateImpl(DBCollection.java:495)	at com.mongodb.DBCollection.update(DBCollection.java:455)	at com.mongodb.DBCollection.update(DBCollection.java:432)	at com.mongodb.DBCollection.update(DBCollection.java:522)	at com.mongodb.DBCollection.updateMulti(DBCollection.java:552)