PetrovMikhail created IGNITE-12865: -------------------------------------- Summary: NPE occurs during CQ registration with cache node filter specified. Key: IGNITE-12865 URL: https://issues.apache.org/jira/browse/IGNITE-12865 Project: Ignite Issue Type: Bug Reporter: PetrovMikhail
NPE occurs during CQ registration if 1. Node that starts cache does not match cache node filter. 2. CQ is started on node that matches cache node filter. Reproducer: {code:java} /** */ @Test public void test() throws Exception { IgniteEx filteredNode = startGrid(0); IgniteEx cacheStoreNode = startGrid(1); filteredNode.cluster().state(ClusterState.ACTIVE); filteredNode.createCache(new CacheConfiguration<>(DEFAULT_CACHE_NAME) .setNodeFilter(node -> !node.id().equals(filteredNode.localNode().id()))); ContinuousQuery<Object, Object> qry = new ContinuousQuery<>(); qry.setLocalListener(evts -> { //No-op. }); cacheStoreNode.cache(DEFAULT_CACHE_NAME).query(qry); } {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)