You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (Jira)" <ji...@apache.org> on 2022/06/22 20:47:05 UTC

[jira] [Closed] (GEODE-10094) NPE could be encountered when accessing index manager if cache is closing

     [ https://issues.apache.org/jira/browse/GEODE-10094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen Nichols closed GEODE-10094.
--------------------------------

> NPE could be encountered when accessing index manager if cache is closing
> -------------------------------------------------------------------------
>
>                 Key: GEODE-10094
>                 URL: https://issues.apache.org/jira/browse/GEODE-10094
>             Project: Geode
>          Issue Type: Bug
>          Components: querying
>            Reporter: Eric Shu
>            Assignee: Eric Shu
>            Priority: Major
>              Labels: GeodeOperationAPI, pull-request-available
>             Fix For: 1.15.0
>
>
> The following NPE can be seen when creating index on a partitioned region.
> java.lang.NullPointerException
>         at Remote Member 'rs-GEM-3234-HG1109a1i32xlarge-hydra-client-17(gemfire2_host1_10121:10121)<ec><v1>:41001' in org.apache.geode.internal.cache.PartitionedRegion.populateEmptyIndexes(PartitionedRegion.java:8601)
>         at Remote Member 'rs-GEM-3234-HG1109a1i32xlarge-hydra-client-17(gemfire2_host1_10121:10121)<ec><v1>:41001' in org.apache.geode.internal.cache.PartitionedRegion.createIndexes(PartitionedRegion.java:8519)
>         at Remote Member 'rs-GEM-3234-HG1109a1i32xlarge-hydra-client-17(gemfire2_host1_10121:10121)<ec><v1>:41001' in org.apache.geode.internal.cache.partitioned.IndexCreationMsg.operateOnPartitionedRegion(IndexCreationMsg.java:125)
>         at Remote Member 'rs-GEM-3234-HG1109a1i32xlarge-hydra-client-17(gemfire2_host1_10121:10121)<ec><v1>:41001' in org.apache.geode.internal.cache.partitioned.IndexCreationMsg.process(IndexCreationMsg.java:288)
>         at Remote Member 'rs-GEM-3234-HG1109a1i32xlarge-hydra-client-17(gemfire2_host1_10121:10121)<ec><v1>:41001' in org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:376)
>         at Remote Member 'rs-GEM-3234-HG1109a1i32xlarge-hydra-client-17(gemfire2_host1_10121:10121)<ec><v1>:41001' in org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:441)
>         at Remote Member 'rs-GEM-3234-HG1109a1i32xlarge-hydra-client-17(gemfire2_host1_10121:10121)<ec><v1>:41001' in java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>         at Remote Member 'rs-GEM-3234-HG1109a1i32xlarge-hydra-client-17(gemfire2_host1_10121:10121)<ec><v1>:41001' in java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at Remote Member 'rs-GEM-3234-HG1109a1i32xlarge-hydra-client-17(gemfire2_host1_10121:10121)<ec><v1>:41001' in org.apache.geode.distributed.internal.ClusterOperationExecutors.runUntilShutdown(ClusterOperationExecutors.java:446)
>         at Remote Member 'rs-GEM-3234-HG1109a1i32xlarge-hydra-client-17(gemfire2_host1_10121:10121)<ec><v1>:41001' in org.apache.geode.distributed.internal.ClusterOperationExecutors.doPartitionRegionThread(ClusterOperationExecutors.java:426)
>         at Remote Member 'rs-GEM-3234-HG1109a1i32xlarge-hydra-client-17(gemfire2_host1_10121:10121)<ec><v1>:41001' in org.apache.geode.logging.internal.executors.LoggingThreadFactory.lambda$newThread$0(LoggingThreadFactory.java:120)
>         at Remote Member 'rs-GEM-3234-HG1109a1i32xlarge-hydra-client-17(gemfire2_host1_10121:10121)<ec><v1>:41001' in java.lang.Thread.run(Thread.java:750)
>         at org.apache.geode.distributed.internal.ReplyException.handleCause(ReplyException.java:86)
>         at org.apache.geode.internal.cache.partitioned.PartitionMessage$PartitionResponse.waitForCacheException(PartitionMessage.java:859)
>         at org.apache.geode.internal.cache.partitioned.IndexCreationMsg$IndexCreationResponse.waitForResult(IndexCreationMsg.java:483)
>         at org.apache.geode.internal.cache.PartitionedRegion.createIndex(PartitionedRegion.java:8418)
>         at org.apache.geode.internal.cache.PartitionedRegion.createIndex(PartitionedRegion.java:8335)
>         at org.apache.geode.cache.query.internal.DefaultQueryService.createIndex(DefaultQueryService.java:248)
>         at org.apache.geode.cache.query.internal.DefaultQueryService.createIndex(DefaultQueryService.java:206)
>         at org.apache.geode.cache.query.internal.DefaultQueryService.createIndex(DefaultQueryService.java:277)
>         at org.apache.geode.cache.query.internal.DefaultQueryService.createIndex(DefaultQueryService.java:200)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)