Hi,
We have started to use Ignite 2.7.6 internally and are validating it to be
used in production. We have started deploying it on internal clusters and we
are seeing NPE during the cluster startup. The
CacheContinuousQueryManager.registerListener is throwing NPE. I was digging
into the code internally and my guess at this point is that the instance of
GridCacheContext is null. I suspect that the
CacheContinuousQueryHandler.cacheContext() is returning back null while
getting GridCacheContext from ctxMap in GridCacheSharedContext. I don't have
the entire code flow figured out to debug more and am at loss on what could
be happening and would expect some direction or how to overcome this issue.
We are using ZooKeeper for discovery and are passing all CacheConfiguration
instances to IgniteConfiguration while starting up the IgniteKernel.
2020-03-07 05:14:27.098 24917 [sys-#127%siri_cache_grid%] () () ERROR
org.apache.ignite.internal.processors.continuous.GridContinuousProcessor -
Failed to register continuous routine handler
[routineId=3c1367fd-3a2d-4b10-bf15-6eeaf6a550fd,
srcNodeId=83e16b42-2269-4021-b678-c39861712295]
java.lang.NullPointerException
at
org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryManager.registerListener(CacheContinuousQueryManager.java:926)
at
org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryHandler.register(CacheContinuousQueryHandler.java:593)
at
org.apache.ignite.internal.processors.continuous.GridContinuousProcessor.registerHandler(GridContinuousProcessor.java:1773)
at
org.apache.ignite.internal.processors.continuous.GridContinuousProcessor.access$5400(GridContinuousProcessor.java:111)
at
org.apache.ignite.internal.processors.continuous.GridContinuousProcessor$10.run(GridContinuousProcessor.java:1551)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/