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

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

Commit ed3d10c011417e1c7a7056d2716a8244ff235c5a in geode's branch 
refs/heads/feature/GEODE-5166 from [~lhughesgodfrey]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=ed3d10c ]

GEODE-5166: NPE thrown while processing InitialImage of subscription region

* Fix NPE in updateHAEventWrapper
* Clean up code (renaming variables) in putEventInHARegion
* Removing old/commented out code


> NPE thrown from HARegionQueue.updateHAEventWrapper
> --------------------------------------------------
>
>                 Key: GEODE-5166
>                 URL: https://issues.apache.org/jira/browse/GEODE-5166
>             Project: Geode
>          Issue Type: Bug
>          Components: client queues
>            Reporter: Shelley Lynn Hughes-Godfrey
>            Assignee: Shelley Lynn Hughes-Godfrey
>            Priority: Major
>
> NPE thrown when processing the InitialImage for an HARegionQueue
> {noformat}
> ERROR util.TestException: 
> /var/vcap/data/vad/eventValidation_FullListFailOver-0430-070117/bridgegemfire4_19378/system.log
>  contains java.lang.NullPointerException
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> org.apache.geode.internal.cache.ha.HARegionQueue.updateHAEventWrapper(HARegionQueue.java:2128)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> org.apache.geode.internal.cache.HARegion.updateHAEventWrapper(HARegion.java:481)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> org.apache.geode.internal.cache.AbstractRegionMap.initialImagePut(AbstractRegionMap.java:825)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> org.apache.geode.internal.cache.InitialImageOperation.processChunk(InitialImageOperation.java:977)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> org.apache.geode.internal.cache.InitialImageOperation$ImageProcessor.process(InitialImageOperation.java:1307)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> org.apache.geode.distributed.internal.ReplyMessage.process(ReplyMessage.java:209)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> org.apache.geode.internal.cache.InitialImageOperation$ImageReplyMessage.process(InitialImageOperation.java:2786)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> org.apache.geode.distributed.internal.ReplyMessage.dmProcess(ReplyMessage.java:193)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> org.apache.geode.distributed.internal.ReplyMessage.process(ReplyMessage.java:186)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:378)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:444)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> org.apache.geode.distributed.internal.ClusterDistributionManager.runUntilShutdown(ClusterDistributionManager.java:1121)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> org.apache.geode.distributed.internal.ClusterDistributionManager.access$000(ClusterDistributionManager.java:109)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in 
> org.apache.geode.distributed.internal.ClusterDistributionManager$5$1.run(ClusterDistributionManager.java:832)
>         at Remote Member 
> 'rs-GEM-1666-scheduler(bridgegemfire4_rs-GEM-1666-scheduler_19378:19378)<ec><v27>:1028'
>  in java.lang.Thread.run(Thread.java:745)
>         at 
> org.apache.geode.distributed.internal.ReplyException.handleCause(ReplyException.java:87)
>         at 
> org.apache.geode.internal.cache.InitialImageOperation.getFromOne(InitialImageOperation.java:542)
>         at 
> org.apache.geode.internal.cache.DistributedRegion.getInitialImageAndRecovery(DistributedRegion.java:1215)
>         at 
> org.apache.geode.internal.cache.DistributedRegion.initialize(DistributedRegion.java:1056)
>         at 
> org.apache.geode.internal.cache.HARegion.initialize(HARegion.java:335)
>         at 
> org.apache.geode.internal.cache.GemFireCacheImpl.createVMRegion(GemFireCacheImpl.java:3085)
>         at 
> org.apache.geode.internal.cache.HARegion.getInstance(HARegion.java:255)
>         at 
> org.apache.geode.internal.cache.ha.HARegionQueue.createHARegion(HARegionQueue.java:389)
>         at 
> org.apache.geode.internal.cache.ha.HARegionQueue.<init>(HARegionQueue.java:373)
>         at 
> org.apache.geode.internal.cache.ha.HARegionQueue$BlockingHARegionQueue.<init>(HARegionQueue.java:2204)
>         at 
> org.apache.geode.internal.cache.ha.HARegionQueue$DurableHARegionQueue.<init>(HARegionQueue.java:2435)
>         at 
> org.apache.geode.internal.cache.ha.HARegionQueue.getHARegionQueueInstance(HARegionQueue.java:1978)
>         at 
> org.apache.geode.internal.cache.tier.sockets.CacheClientProxy$MessageDispatcher.<init>(CacheClientProxy.java:2275)
>         at 
> org.apache.geode.internal.cache.tier.sockets.CacheClientProxy.initializeMessageDispatcher(CacheClientProxy.java:1685)
>         at 
> org.apache.geode.internal.cache.tier.sockets.CacheClientNotifier.initializeProxy(CacheClientNotifier.java:623)
>         at 
> org.apache.geode.internal.cache.tier.sockets.CacheClientNotifier.registerClient(CacheClientNotifier.java:468)
>         at 
> org.apache.geode.internal.cache.tier.sockets.CacheClientNotifier.registerGFEClient(CacheClientNotifier.java:347)
>         at 
> org.apache.geode.internal.cache.tier.sockets.CacheClientNotifier.registerClient(CacheClientNotifier.java:280)
>         at 
> org.apache.geode.internal.cache.tier.sockets.AcceptorImpl$ClientQueueInitializerTask.run(AcceptorImpl.java:1881)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to