You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/01/17 23:16:00 UTC

[jira] [Commented] (GEODE-7725) AbstractGatewaySender.getSynchronizationEvent should be able to handle region is null case

    [ https://issues.apache.org/jira/browse/GEODE-7725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018396#comment-17018396 ] 

ASF subversion and git services commented on GEODE-7725:
--------------------------------------------------------

Commit 876bc6184823d77f0e3ce54b7eaeceb48d9b4af3 in geode's branch refs/heads/feature/GEODE-7725 from Eric Shu
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=876bc61 ]

GEODE-7725: Handle region is null case

  * 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
>
> 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)