java.lang.IllegalArgumentException

given string [SELECT count(*) FROM foo_foo WHERE stubValue1=49.277965 AND stubValue2=-123.110181 AND stubDate='2014-03-21' AND stubHour=19 AND stubHourOrdinal=0;] is not a valid quoted or unquoted identifier at org.springframework.cassandra.core.cql.CqlIdentifier.setIdentifier(CqlIdentifier.java:126) at org.springframework.cassandra.core.cql.CqlIdentifier.<init>(CqlIdentifier.java:106) at org.springframework.cassandra.core.cql.CqlIdentifier.<init>(CqlIdentifier.java:89) at org.springframework.cassandra.core.cql.CqlIdentifier.cqlId(CqlIdentifier.java:44)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Colin McQueen,
  • via Unknown by Colin McQueen,
  • Stack trace

    • java.lang.IllegalArgumentException: given string [SELECT count(*) FROM foo_foo WHERE stubValue1=49.277965 AND stubValue2=-123.110181 AND stubDate='2014-03-21' AND stubHour=19 AND stubHourOrdinal=0;] is not a valid quoted or unquoted identifier at org.springframework.cassandra.core.cql.CqlIdentifier.setIdentifier(CqlIdentifier.java:126) at org.springframework.cassandra.core.cql.CqlIdentifier.<init>(CqlIdentifier.java:106) at org.springframework.cassandra.core.cql.CqlIdentifier.<init>(CqlIdentifier.java:89) at org.springframework.cassandra.core.cql.CqlIdentifier.cqlId(CqlIdentifier.java:44) at org.springframework.cassandra.core.CqlTemplate.count(CqlTemplate.java:1120) at org.springframework.data.cassandra.core.CassandraTemplate.exists(CassandraTemplate.java:120) at org.springframework.data.cassandra.repository.support.SimpleCassandraRepository.exists(SimpleCassandraRepository.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:358) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:343) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy660.exists(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.