You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tomás Fernández Löbbe (JIRA)" <ji...@apache.org> on 2017/05/09 00:33:04 UTC

[jira] [Resolved] (SOLR-10639) NPE when warming LRU/FastLRU caches

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

Tomás Fernández Löbbe resolved SOLR-10639.
------------------------------------------
    Resolution: Fixed

> 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) 
>    Affects Versions: master (7.0)
>            Reporter: Tomás Fernández Löbbe
>            Assignee: Tomás Fernández Löbbe
>             Fix For: master (7.0)
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org