com.datastax.driver.core.exceptions.InvalidTypeException: Invalid type for value 3 of CQL type bigint, expecting class java.lang.Long but class java.lang.Integer provided

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

Solutions on the web

via DataStax JIRA by Kairat Beq, 1 year ago
via DataStax JIRA by Kairat Beq, 1 year ago
com.datastax.driver.core.exceptions.InvalidTypeException: Invalid type for value 3 of CQL type bigint, expecting class java.lang.Long but class java.lang.Integer provided
at com.datastax.driver.core.BoundStatement.bind(BoundStatement.java:190)
at com.datastax.driver.core.PreparedStatement.bind(PreparedStatement.java:158)
at clojurewerkz.cassaforte.client$build_statement.invoke(client.clj:170)
at clojurewerkz.cassaforte.client$execute.doInvoke(client.clj:291)
at clojure.lang.RestFn.invoke(RestFn.java:457)
at clojurewerkz.cassaforte.multi.cql$execute_.invoke(cql.clj:17)
at clojurewerkz.cassaforte.multi.cql$insert.doInvoke(cql.clj:132)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

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