[ 
https://issues.apache.org/jira/browse/SOLR-2870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142961#comment-13142961
 ] 

Sami Siren commented on SOLR-2870:
----------------------------------

This just occured again, this time with SolrExampleBinaryTest:
{code}
SEVERE: java.lang.RuntimeException: MockDirectoryWrapper: cannot close: there 
are still open files: {_3f_1.skp=1, _3
f_1.pos=1, _3f_1.doc=1, _3f_1.frq=1}
{code}

{code}
03/11/2011 18:19:50 org.apache.solr.common.SolrException log
SEVERE: java.util.concurrent.RejectedExecutionException
        at 
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1768)
        at 
java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
        at 
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658)
        at 
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:92)
        at 
java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:603)
        at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1228)
        at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1002)
        at 
org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:339)
        at org.apache.solr.update.CommitTracker.run(CommitTracker.java:184)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
        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:662)
{code}
                
> Test failure in SolrExampleJettyTest
> ------------------------------------
>
>                 Key: SOLR-2870
>                 URL: https://issues.apache.org/jira/browse/SOLR-2870
>             Project: Solr
>          Issue Type: Bug
>         Environment: r1196292 (trunk)
>            Reporter: Sami Siren
>         Attachments: 
> TEST-org.apache.solr.client.solrj.embedded.SolrExampleJettyTest.xml
>
>
> I saw this non reproducible error today once. I also saw similar error with 
> SolrExampleEmbeddedTest.
> {code}
>    <error message="java.lang.AssertionError: directory of test was not 
> closed, opened from: 
> org.apache.solr.core.MockDirectoryFactory.create(MockDirectoryFactory.java:33)"
>  type="java.lang.RuntimeException">java.lang.RuntimeException: 
> java.lang.AssertionError: directory of test was not closed, opened from: 
> org.apache.solr.core.MockDirectoryFactory.create(MockDirectoryFactory.java:33)
>         at 
> org.apache.lucene.util.LuceneTestCase.afterClassLuceneTestCaseJ4(LuceneTestCase.java:474)
>         at 
> org.apache.lucene.util.LuceneTestCase.checkResourcesAfterClass(LuceneTestCase.java:532)
>         at 
> org.apache.lucene.util.LuceneTestCase.afterClassLuceneTestCaseJ4(LuceneTestCase.java:442)
> </error>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to