Tomás Fernández Löbbe created SOLR-10639:
--------------------------------------------
Summary: NPE when warming LRU/FastLRU caches
Key: SOLR-10639
URL: https://issues.apache.org/jira/browse/SOLR-10639
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Tomás Fernández Löbbe
I recently started seeing this in master. This is not failing the tests, but it
happens all the time:
{noformat}
[junit4] 2> SLF4J: Failed toString() invocation on an object of type
[org.apache.solr.search.LRUCache]
[junit4] 2> java.lang.NullPointerException
[junit4] 2> at
org.apache.solr.search.LRUCache.toString(LRUCache.java:378)
[junit4] 2> at
org.slf4j.helpers.MessageFormatter.safeObjectAppend(MessageFormatter.java:305)
[junit4] 2> at
org.slf4j.helpers.MessageFormatter.deeplyAppendParameter(MessageFormatter.java:277)
[junit4] 2> at
org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:231)
[junit4] 2> at
org.slf4j.helpers.MessageFormatter.format(MessageFormatter.java:152)
[junit4] 2> at
org.slf4j.impl.Log4jLoggerAdapter.debug(Log4jLoggerAdapter.java:251)
[junit4] 2> at
org.apache.solr.search.SolrIndexSearcher.warm(SolrIndexSearcher.java:2145)
[junit4] 2> at
org.apache.solr.core.SolrCore.lambda$getSearcher$46(SolrCore.java:2242)
[junit4] 2> at
java.util.concurrent.FutureTask.run(FutureTask.java:266)
[junit4] 2> at
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$79(ExecutorUtil.java:229)
[junit4] 2> at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[junit4] 2> at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[junit4] 2> at java.lang.Thread.run(Thread.java:745)
[junit4] 2> 194047 DEBUG
(searcherExecutor-619-thread-1-processing-n:127.0.0.1:61037_j_ls%2Fq
x:collection1 s:shard1 c:control_collection r:core_node1)
[n:127.0.0.1:61037_j_ls%2Fq c:control_collection s:shard1 r:core_node1 x:collec
tion1] o.a.s.s.SolrIndexSearcher autowarming result for
[Searcher@7e41b970[collection1]
main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_0(7.0.0):c101)))}]
[junit4] 2> [FAILED toString()]
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]