Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 46589 invoked from network); 28 Sep 2010 21:08:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Sep 2010 21:08:58 -0000 Received: (qmail 7312 invoked by uid 500); 28 Sep 2010 21:08:57 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 7271 invoked by uid 500); 28 Sep 2010 21:08:56 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 7263 invoked by uid 99); 28 Sep 2010 21:08:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 21:08:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 21:08:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8SL8WE1004399 for ; Tue, 28 Sep 2010 21:08:33 GMT Message-ID: <16221314.451151285708112734.JavaMail.jira@thor> Date: Tue, 28 Sep 2010 17:08:32 -0400 (EDT) From: "David Smiley (JIRA)" To: dev@lucene.apache.org Subject: [jira] Created: (SOLR-2135) ConcurrentLRUCache fails if getLatestAccessedItems(0) called MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org ConcurrentLRUCache fails if getLatestAccessedItems(0) called ------------------------------------------------------------ Key: SOLR-2135 URL: https://issues.apache.org/jira/browse/SOLR-2135 Project: Solr Issue Type: Bug Reporter: David Smiley Priority: Minor I'll add a patch which adds a test which demonstrates this. ERROR 13:26:39 [o.a.s.core.SolrCore] - java.util.NoSuchElementException at java.util.TreeMap.key(TreeMap.java:1206) at java.util.TreeMap.lastKey(TreeMap.java:274) at java.util.TreeSet.last(TreeSet.java:384) at org.apache.solr.common.util.ConcurrentLRUCache.getLatestAccessedItems(ConcurrentLRUCache.java:437) at org.apache.solr.search.FastLRUCache.warm(FastLRUCache.java:158) at org.apache.solr.search.SolrIndexSearcher.warm(SolrIndexSearcher.java:1490) at org.apache.solr.core.SolrCore$2.call(SolrCore.java:1127) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:637) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org