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

Steve Rowe commented on SOLR-10907:
-----------------------------------

Another reproducing failure, from 
[https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/19946/]:

{noformat}
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestExpandComponent 
-Dtests.method=testExpand -Dtests.seed=87068970F48E871D -Dtests.multiplier=3 
-Dtests.slow=true -Dtests.locale=hr -Dtests.timezone=GMT -Dtests.asserts=true 
-Dtests.file.encoding=ISO-8859-1
   [junit4] ERROR   0.21s J2 | TestExpandComponent.testExpand <<<
   [junit4]    > Throwable #1: java.lang.RuntimeException: Exception during 
query
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([87068970F48E871D:1B5EC0D14ED9670A]:0)
   [junit4]    >        at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:872)
   [junit4]    >        at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:839)
   [junit4]    >        at 
org.apache.solr.handler.component.TestExpandComponent._testExpand(TestExpandComponent.java:120)
   [junit4]    >        at 
org.apache.solr.handler.component.TestExpandComponent.testExpand(TestExpandComponent.java:60)
   [junit4]    >        at java.lang.Thread.run(Thread.java:748)
   [junit4]    > Caused by: org.apache.lucene.store.AlreadyClosedException: 
this IndexReader is closed
   [junit4]    >        at 
org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:268)
   [junit4]    >        at 
org.apache.lucene.index.IndexReader.registerParentReader(IndexReader.java:140)
   [junit4]    >        at 
org.apache.lucene.index.FilterLeafReader.<init>(FilterLeafReader.java:300)
   [junit4]    >        at 
org.apache.solr.handler.component.ExpandComponent$ReaderWrapper.<init>(ExpandComponent.java:782)
   [junit4]    >        at 
org.apache.solr.handler.component.ExpandComponent.process(ExpandComponent.java:394)
   [junit4]    >        at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:295)
   [junit4]    >        at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:178)
   [junit4]    >        at 
org.apache.solr.core.SolrCore.execute(SolrCore.java:2473)
   [junit4]    >        at 
org.apache.solr.util.TestHarness.query(TestHarness.java:337)
   [junit4]    >        at 
org.apache.solr.util.TestHarness.query(TestHarness.java:319)
   [junit4]    >        at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:846)
{noformat}

> fix Resource Leak warning in ExpandComponent
> --------------------------------------------
>
>                 Key: SOLR-10907
>                 URL: https://issues.apache.org/jira/browse/SOLR-10907
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: clients - java
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-10907.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to