Hello, If I destroy a cache when a service is deployed, there is an error message with a NullPointerException that is logged by ignite. This does not seems harmful to me, since the cache destroying terminates successfully. Can you confirm that? Its also annoying because it pollutes the logs a lot.
This happens in 2.8.1 and 2.8.0, but not in 2.7.x or lower. You can find attached an example to reproduce this. The error message and stack trace are the following: Sep 02, 2020 8:50:29 AM org.apache.ignite.logger.java.JavaLogger error SEVERE: Failed to notify direct custom event listener: DynamicCacheChangeBatch [id=553849d4471-5ac52f5c-11b5-454f-965e-3c6e7bcb7a5a, reqs=ArrayList [DynamicCacheChangeRequest [cacheName=foo, hasCfg=false, nodeId=2e57fb89-5665-48fb-a0e9-fbd880e8d4b3, clientStartOnly=false, stop=true, destroy=false, disabledAfterStartfalse]], exchangeActions=ExchangeActions [startCaches=null, stopCaches=[foo], startGrps=[], stopGrps=[foo, destroy=true], resetParts=null, stateChangeRequest=null], startCaches=false] java.lang.NullPointerException at org.apache.ignite.internal.processors.service.IgniteServiceProcessor.lambda$processDynamicCacheChangeRequest$6(IgniteServiceProcessor.java:1694) at java.util.Collection.removeIf(Collection.java:414) at org.apache.ignite.internal.processors.service.IgniteServiceProcessor.processDynamicCacheChangeRequest(IgniteServiceProcessor.java:1691) at org.apache.ignite.internal.processors.service.IgniteServiceProcessor.access$200(IgniteServiceProcessor.java:108) at org.apache.ignite.internal.processors.service.IgniteServiceProcessor$3.onCustomEvent(IgniteServiceProcessor.java:232) at org.apache.ignite.internal.processors.service.IgniteServiceProcessor$3.onCustomEvent(IgniteServiceProcessor.java:229) at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$4.onDiscovery0(GridDiscoveryManager.java:665) at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$4.lambda$onDiscovery$0(GridDiscoveryManager.java:528) at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryMessageNotifierWorker.body0(GridDiscoveryManager.java:2608) at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryMessageNotifierWorker.body(GridDiscoveryManager.java:2646) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120) at java.lang.Thread.run(Thread.java:748) Regards, Benjamin
Main.java
Description: Main.java