com.datastax.driver.core.exceptions.InvalidQueryException: Invalid amount of bind variables

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Spring JIRA by Colin McQueen, 1 year ago
Invalid amount of bind variables
via Spring JIRA by Colin McQueen, 1 year ago
Invalid amount of bind variables
via Stack Overflow by Naresh Babu
, 9 months ago
Error decoding JSON value for modified: Expected a string representation of a timeuuid, but got a Long: 1486635458000
via GitHub by liyichao
, 1 year ago
Partition KEY part service_name cannot be restricted by IN relation (only the last part of the partition key can)
via Stack Overflow by Varun Tahin
, 9 months ago
Script evaluation exceeded the configured threshold of 30000 ms for the request [g.V().hasLabel('Org').has('name','Org33L').as('a1').addV().property(label,'Asset').property('name', 'Asset15447393L').property('type', '1').as('a2').addE('HAS').from('a1').to('a2')]
com.datastax.driver.core.exceptions.InvalidQueryException: Invalid amount of bind variables
at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35)
at com.datastax.driver.core.ResultSetFuture.extractCauseFromExecutionException(ResultSetFuture.java:269)
at com.datastax.driver.core.ResultSetFuture.getUninterruptibly(ResultSetFuture.java:183)
at org.springframework.cassandra.core.CqlTemplate$12.doInSession(CqlTemplate.java:519)
at org.springframework.cassandra.core.CqlTemplate$12.doInSession(CqlTemplate.java:510)
at org.springframework.cassandra.core.CqlTemplate.doExecute(CqlTemplate.java:487)
at org.springframework.cassandra.core.CqlTemplate.doExecute(CqlTemplate.java:510)
at org.springframework.cassandra.core.CqlTemplate.doExecute(CqlTemplate.java:499)
at org.springframework.cassandra.core.CqlTemplate.query(CqlTemplate.java:409)
at org.springframework.cassandra.core.CqlTemplate.query(CqlTemplate.java:436)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at com.sun.proxy.$Proxy1408.findByPartitionKey(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago

Write tip

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