java.lang.IllegalArgumentException

Invalid value {value1:'Hello', value2:'Test'} of type unknown to the query builder

Solutions on the web21205

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

    • java.lang.IllegalArgumentException: Invalid value {value1:'Hello', value2:'Test'} of type unknown to the query builder at com.datastax.driver.core.querybuilder.Utils.appendStringIfValid(Utils.java:133) at com.datastax.driver.core.querybuilder.Utils.appendFlatValue(Utils.java:121) at com.datastax.driver.core.querybuilder.Utils.appendMap(Utils.java:235) at com.datastax.driver.core.querybuilder.Utils.appendValueIfCollection(Utils.java:185) at com.datastax.driver.core.querybuilder.Utils.appendValue(Utils.java:104) at com.datastax.driver.core.querybuilder.Utils.appendValue(Utils.java:92) at com.datastax.driver.core.querybuilder.Assignment$CollectionAssignment.appendTo(Assignment.java:153) at com.datastax.driver.core.querybuilder.Utils.joinAndAppend(Utils.java:40) at com.datastax.driver.core.querybuilder.Update.buildQueryString(Update.java:70) at com.datastax.driver.core.querybuilder.BuiltStatement.toString(BuiltStatement.java:186)

    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 are the first who have seen this exception. Write a tip to help other users and build your expert profile.