java.lang.IllegalArgumentException

Invalid value INACTIVE of type unknown to the query builder

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web21039

  • via Google Groups by Chandra Mouli, 6 months ago
    Invalid value INACTIVE of type unknown to the query builder
  • via GitHub by gncm
    , 1 year ago
    Invalid value INACTIVE of type unknown to the query builder
  • Invalid value {value1:'Hello', value2:'Test'} of type unknown to the query builder
  • Stack trace

    • java.lang.IllegalArgumentException: Invalid value INACTIVE of type unknown to the query builder at com.datastax.driver.core.querybuilder.Utils.appendStringIfValid(Utils.java:134) at com.datastax.driver.core.querybuilder.Utils.appendValue(Utils.java:115) at com.datastax.driver.core.querybuilder.Utils.appendValue(Utils.java:91) at com.datastax.driver.core.querybuilder.Utils.joinAndAppendValues(Utils.java:66) at com.datastax.driver.core.querybuilder.Insert.buildQueryString(Insert.java:59) at com.datastax.driver.core.querybuilder.BuiltStatement.toString(BuiltStatement.java:183) at org.springframework.cassandra.core.CqlTemplate$12.doInSession(CqlTemplate.java:512) at org.springframework.cassandra.core.CqlTemplate$12.doInSession(CqlTemplate.java:506) at org.springframework.cassandra.core.CqlTemplate.doExecute(CqlTemplate.java:483) at org.springframework.cassandra.core.CqlTemplate.doExecute(CqlTemplate.java:506) at org.springframework.cassandra.core.CqlTemplate.execute(CqlTemplate.java:1184) at org.springframework.data.cassandra.core.CassandraTemplate.insert(CassandraTemplate.java:531) at org.springframework.data.cassandra.core.CassandraTemplate.insert(CassandraTemplate.java:211) at org.springframework.data.cassandra.core.CassandraTemplate.insert(CassandraTemplate.java:206) at org.springframework.data.cassandra.repository.support.SimpleCassandraRepository.save(SimpleCassandraRepository.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    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

    You’re the first here who have seen this exception.