Hi Val, Exception is thrown every time we run a query or, more specifically, when we start to iterate on result QueryCursor.
Please find server and client node code snippet with configuration and SPI query. // server node Ignite igniteServerNode = Ignitions.start(new IgniteConfiguration() (...) .setIndexingSpi(new CustomIndexSpi()) // returns iterator (ArrayList.iterator()) on query .setCacheConfiguration( new CacheConfiguration(Person.class.getSimpleName()) (...) .setCacheMode(CacheMode.PARTITIONED) .setAtomicityMode(CacheAtomicityMode.TRANSACTIONAL)); // start server node as separate process // client node Ignite igniteClientNode = Ignitions.start(new IgniteConfiguration() (...) .setClientMode(true); IgniteCache<Long, Person> personCache = igniteClientNode.getOrCreateCache(Person.class.getSimpleName()); QueryCursor<Cache.Entry<Long, Person>> cursor = personCache.query(new SpiQuery<Long, Person>().setArgs("argument1")); cursor.forEach(person -> { // throws exception LOG.info("... found person {}"); }); Additionally, adding client side stacktrace (one from previous post was raised in server process). Exception in thread "main" javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: Query execution failed: GridCacheQueryBean [qry=GridCacheQueryAdapter [type=SPI, clsName=null, clause=null, filter=null, part=null, incMeta=false, metrics=GridCacheQueryMetricsAdapter [minTime=0, maxTime=0, sumTime=0, avgTime=0.0, execs=0, completed=0, fails=0], pageSize=1024, timeout=0, keepAll=true, incBackups=false, dedup=false, prj=null, keepBinary=false, subjId=80183557-7672-43e4-90e9-71df4af08b4f, taskHash=0], rdc=null, trans=null] at org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1618) at org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:181) at org.apache.ignite.internal.processors.cache.IgniteCacheProxy$5.onHasNext(IgniteCacheProxy.java:528) at org.apache.ignite.internal.util.GridCloseableIteratorAdapter.hasNextX(GridCloseableIteratorAdapter.java:53) at org.apache.ignite.internal.util.lang.GridIteratorAdapter.hasNext(GridIteratorAdapter.java:45) at java.lang.Iterable.forEach(Iterable.java:74) (…) Thanks, Kamil -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/SpiQuery-fails-with-exception-tp3615p3619.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.