xiaojian zhou created GEODE-5211: ------------------------------------ Summary: NPE in BatchDestroyOperation Key: GEODE-5211 URL: https://issues.apache.org/jira/browse/GEODE-5211 Project: Geode Issue Type: Bug Components: wan Reporter: xiaojian zhou
GEODE-5087 introduced a BatchDestroyOperation for dropped events. And I found a NPE in BatchDestroyOperation for serial gateway sender when it's being stopped. The fix for serial gateway sender is done. But I forgot that it will have the same issue for concurrent serial gateway sender. It can be reproduced in my regression: newWan/senderOperationsHct.conf wanSites=4 maxOps=5000 resultWaitSec=600 bridgeHostsPerSite=4 bridgeVMsPerHost=1 bridgeThreadsPerVM=2 edgeHostsPerSite=2 edgeVMsPerHost=1 edgeThreadsPerVM=5 CLIENT vm_29_thr_81_edge_4_1_rs-geode5087-client-1_9625 ENDTASK[1] util.LogChecker.HydraTask_checkLogs ERROR util.TestException: /var/vcap/data/regrResults/newWanSenderOperations/2018-05-12-04-12-26/senderOperationsHct-0512-054646/bridgegemfire_2_1_31506/system.log contains java.lang.NullPointerException at Remote Member 'rs-geode5087-client-1(bridgegemfire_2_4_rs-geode5087-client-1_31584:31584)<ec><v2>:1033' in org.apache.geode.internal.cache.wan.serial.BatchDestroyOperation$DestroyMessage.operateOnRegion(BatchDestroyOperation.java:140) at Remote Member 'rs-geode5087-client-1(bridgegemfire_2_4_rs-geode5087-client-1_31584:31584)<ec><v2>:1033' in org.apache.geode.internal.cache.DistributedCacheOperation$CacheOperationMessage.basicProcess(DistributedCacheOperation.java:1191) at Remote Member 'rs-geode5087-client-1(bridgegemfire_2_4_rs-geode5087-client-1_31584:31584)<ec><v2>:1033' in org.apache.geode.internal.cache.DistributedCacheOperation$CacheOperationMessage.process(DistributedCacheOperation.java:1091) at Remote Member 'rs-geode5087-client-1(bridgegemfire_2_4_rs-geode5087-client-1_31584:31584)<ec> -- This message was sent by Atlassian JIRA (v7.6.3#76005)