[
https://issues.apache.org/jira/browse/SOLR-4626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13609531#comment-13609531
]
Mark Miller commented on SOLR-4626:
-----------------------------------
{noformat}
[junit4:junit4] 2> 2447 T1093 oas.SolrTestCaseJ4.tearDown ###Ending testReload
[junit4:junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestCoreContainer -Dtests.method=testReload
-Dtests.seed=9CC00CFF005BBE3C -Dtests.slow=true -Dtests.locale=es_BO
-Dtests.timezone=America/Anchorage -Dtests.file.encoding=ISO-8859-1
[junit4:junit4] ERROR 0.66s J7 | TestCoreContainer.testReload <<<
[junit4:junit4] > Throwable #1:
com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught
exception in thread: Thread[id=1100, name=Thread-324, state=RUNNABLE,
group=TGRP-TestCoreContainer]
[junit4:junit4] > at
__randomizedtesting.SeedInfo.seed([9CC00CFF005BBE3C:5B3074FCCA18462E]:0)
[junit4:junit4] > Caused by: org.apache.solr.common.SolrException: Unable to
reload core: collection1
[junit4:junit4] > at
__randomizedtesting.SeedInfo.seed([9CC00CFF005BBE3C]:0)
[junit4:junit4] > at
org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:1672)
[junit4:junit4] > at
org.apache.solr.core.CoreContainer.reload(CoreContainer.java:1200)
[junit4:junit4] > at
org.apache.solr.core.TestCoreContainer$1TestThread.run(TestCoreContainer.java:90)
[junit4:junit4] > Caused by: org.apache.solr.common.SolrException: Error
opening new searcher
[junit4:junit4] > at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:823)
[junit4:junit4] > at
org.apache.solr.core.SolrCore.reload(SolrCore.java:408)
[junit4:junit4] > at
org.apache.solr.core.CoreContainer.reload(CoreContainer.java:1189)
[junit4:junit4] > ... 1 more
[junit4:junit4] > Caused by: org.apache.solr.common.SolrException: Error
opening new searcher
[junit4:junit4] > at
org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1432)
[junit4:junit4] > at
org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1544)
[junit4:junit4] > at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:798)
[junit4:junit4] > ... 3 more
[junit4:junit4] > Caused by: org.apache.lucene.store.AlreadyClosedException:
this IndexWriter is closed
[junit4:junit4] > at
org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:583)
[junit4:junit4] > at
org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:597)
[junit4:junit4] > at
org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:331)
[junit4:junit4] > at
org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:110)
[junit4:junit4] > at
org.apache.solr.core.SolrCore$2.call(SolrCore.java:785)
[junit4:junit4] > at
org.apache.solr.core.SolrCore$2.call(SolrCore.java:782)
[junit4:junit4] > at
org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1403)
[junit4:junit4] > ... 5 more
{noformat}
> TestCoreContainer Fail: AlreadyClosedException: this IndexWriter is closed
> --------------------------------------------------------------------------
>
> Key: SOLR-4626
> URL: https://issues.apache.org/jira/browse/SOLR-4626
> Project: Solr
> Issue Type: Bug
> Reporter: Mark Miller
> Assignee: Mark Miller
> Fix For: 4.3, 5.0, 4.2.1
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]