cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Rondanini <luca.rondan...@gmail.com>
Subject Cassandra 3 - Guava error on insert (not on update)
Date Fri, 07 Jun 2019 23:20:00 GMT
Hi all,

Out of the blue, I started receiving a strange error message when inserting
a new row that seems related to guava (see below). I really don't
understand what is going on. I didn't change anything on the server and
everything works fine if the query is an update (the row already exists)

Did you see this problem before? Where would you look for possible
solutions?

Thanks a lot!
Luca


ERROR LOG:

java.lang.NullPointerException: Parameter value cannot be null
        at
com.google.common.base.Preconditions.checkNotNull(Preconditions.java:226)
~[guava-18.0.jar:?]
        at
com.datastax.driver.core.CodecRegistry.findCodec(CodecRegistry.java:511)
~[cassandra-driver-core-3.0.1-shaded.jar:?]
        at
com.datastax.driver.core.CodecRegistry.maybeCreateCodec(CodecRegistry.java:630)
~[cassandra-driver-core-3.0.1-shaded.jar:?]
        at
com.datastax.driver.core.CodecRegistry.createCodec(CodecRegistry.java:538)
~[cassandra-driver-core-3.0.1-shaded.jar:?]
        at
com.datastax.driver.core.CodecRegistry.findCodec(CodecRegistry.java:520)
~[cassandra-driver-core-3.0.1-shaded.jar:?]
        at
com.datastax.driver.core.CodecRegistry.codecFor(CodecRegistry.java:392)
~[cassandra-driver-core-3.0.1-shaded.jar:?]
        at
com.datastax.driver.core.querybuilder.Utils.appendValue(Utils.java:100)
~[cassandra-driver-core-3.0.1-shaded.jar:?]
        at
com.datastax.driver.core.querybuilder.Assignment$SetAssignment.appendTo(Assignment.java:57)
~[cassandra-driver-core-3.0.1-shaded.jar:?]
        at
com.datastax.driver.core.querybuilder.Utils.joinAndAppend(Utils.java:41)
~[cassandra-driver-core-3.0.1-shaded.jar:?]
        at
com.datastax.driver.core.querybuilder.Update.buildQueryString(Update.java:79)
~[cassandra-driver-core-3.0.1-shaded.jar:?]
        at
com.datastax.driver.core.querybuilder.BuiltStatement.toString(BuiltStatement.java:299)
~[cassandra-driver-core-3.0.1-shaded.jar:?]
        at
com.datastax.driver.core.querybuilder.BuiltStatement$ForwardingStatement.toString(BuiltStatement.java:450)
~[cassandra-driver-core-3.0.1-shaded.jar:?]
        at
com.datastax.driver.core.querybuilder.Update$Where.toString(Update.java:239)
~[cassandra-driver-core-3.0.1-shaded.jar:?]
        at
com.plugg.db.main.dao.clique.InstanceDAO.Update(InstanceDAO.java:167)
~[classes/:?]

Mime
View raw message