**[Michael Reiche](https://jira.spring.io/secure/ViewProfile.jspa?name=mikereiche)** opened **[DATACOUCH-603](https://jira.spring.io/browse/DATACOUCH-603?redirect=false)** and commented N1qlQueryCreator - IN, NOT IN should not cast parameter to Object[] List<> and JsonArray should be acceptable as well. The code should just pass in the argument without any cast and let ParameterAccessor handle it. case IN: return criteria.in((Object[]) parameters.next()); case NOT_IN: return criteria.notIn((Object[]) parameters.next()); --- **Referenced from:** pull request https://github.com/spring-projects/spring-data-couchbase/pull/263 **Backported to:** [4.0.5 (Neumann SR5)](https://github.com/spring-projects/spring-data-couchbase/milestone/164?closed=1)