[
https://issues.apache.org/jira/browse/GEODE-7725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17021322#comment-17021322
]
ASF subversion and git services commented on GEODE-7725:
--------------------------------------------------------
Commit 24fe83f6bd52e3268018ffd26691f70883c215b0 in geode's branch
refs/heads/develop from Eric Shu
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=24fe83f ]
GEODE-7725: Handle region is null case (#4608)
* Handle region is null in AbstractGatewaySender.getSynchronizationEvent
> AbstractGatewaySender.getSynchronizationEvent should be able to handle region
> is null case
> ------------------------------------------------------------------------------------------
>
> Key: GEODE-7725
> URL: https://issues.apache.org/jira/browse/GEODE-7725
> Project: Geode
> Issue Type: Bug
> Components: wan
> Affects Versions: 1.11.0
> Reporter: Eric Shu
> Assignee: Eric Shu
> Priority: Major
> Labels: GeodeCommons
> Fix For: 1.12.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently NPE could be thrown:
> java.lang.NullPointerException
> at
> org.apache.geode.internal.cache.wan.AbstractGatewaySender.getSynchronizationEvent(AbstractGatewaySender.java:1471)
> at
> org.apache.geode.internal.cache.wan.GatewaySenderQueueEntrySynchronizationOperation$GatewaySenderQueueEntrySynchronizationMessage.getSynchronizationEvents(GatewaySenderQueueEntrySynchronizationOperation.java:233)
> at
> org.apache.geode.internal.cache.wan.GatewaySenderQueueEntrySynchronizationOperation$GatewaySenderQueueEntrySynchronizationMessage.process(GatewaySenderQueueEntrySynchronizationOperation.java:201)
> at
> org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:372)
> at
> org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:436)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> Rjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at
> org.apache.geode.distributed.internal.ClusterOperationExecutors.runUntilShutdown(ClusterOperationExecutors.java:475)
> at
> org.apache.geode.distributed.internal.ClusterOperationExecutors.doProcessingThread(ClusterOperationExecutors.java:406)
> at
> org.apache.geode.logging.internal.executors.LoggingThreadFactory.lambda$newThread$0(LoggingThreadFactory.java:119)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)