You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dale Emery (JIRA)" <ji...@apache.org> on 2018/11/02 17:07:02 UTC

[jira] [Created] (GEODE-5973) PartitionedRepositoryManagerJUnitTest.queryOnlyWhenIndexIsAvailable null prRoot

Dale Emery created GEODE-5973:
---------------------------------

             Summary: PartitionedRepositoryManagerJUnitTest.queryOnlyWhenIndexIsAvailable null prRoot
                 Key: GEODE-5973
                 URL: https://issues.apache.org/jira/browse/GEODE-5973
             Project: Geode
          Issue Type: Test
            Reporter: Dale Emery


`IndexRepositoryFactory` throws `NullPointerException` during `computeIndexRepository(…)`.

The region returned by `PartitionedRegionHelper.getPRRoot(fileRegion.getCache())` is `null`.

Example from http://files.apachegeode-ci.info/builds/apache-develop-main/1.8.0-build.89/test-results/test/1541175326/index.html:

{noformat}
java.lang.NullPointerException
	at org.apache.geode.cache.lucene.internal.IndexRepositoryFactory.computeIndexRepository(IndexRepositoryFactory.java:60)
	at org.apache.geode.cache.lucene.internal.PartitionedRepositoryManager.computeRepository(PartitionedRepositoryManager.java:148)
	at org.apache.geode.cache.lucene.internal.PartitionedRepositoryManager.lambda$computeRepository$1(PartitionedRepositoryManager.java:167)
	at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1853)
	at org.apache.geode.cache.lucene.internal.PartitionedRepositoryManager.computeRepository(PartitionedRepositoryManager.java:159)
	at org.apache.geode.cache.lucene.internal.PartitionedRepositoryManager.getRepository(PartitionedRepositoryManager.java:136)
	at org.apache.geode.cache.lucene.internal.PartitionedRepositoryManager.getRepositories(PartitionedRepositoryManager.java:97)
	at org.apache.geode.cache.lucene.internal.PartitionedRepositoryManager.getRepositories(PartitionedRepositoryManager.java:80)
	at org.apache.geode.cache.lucene.internal.PartitionedRepositoryManagerJUnitTest.lambda$queryOnlyWhenIndexIsAvailable$0(PartitionedRepositoryManagerJUnitTest.java:303)
	at org.awaitility.core.CallableCondition$ConditionEvaluationWrapper.eval(CallableCondition.java:100)
	at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:192)
	at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:179)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
{noformat}




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