You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/02/01 10:48:09 UTC

[jira] [Commented] (SOLR-5684) Shutdown SolrServer clients created in BasicDistributedZk2Test and BasicDistributedZkTest

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

Shalin Shekhar Mangar commented on SOLR-5684:
---------------------------------------------

Thanks Tomás. After applying your patch, ShardSplitTest and MigrateRouteKeyTest fail with a NPE during tearDown:
{code}
java.lang.NullPointerException
        at __randomizedtesting.SeedInfo.seed([AA93C46841BC7A14:2B754A7036E31A28]:0)
        at org.apache.solr.cloud.BasicDistributedZkTest.tearDown(BasicDistributedZkTest.java:1186)
        at org.apache.solr.cloud.ShardSplitTest.tearDown(ShardSplitTest.java:96)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{code}

> Shutdown SolrServer clients created in BasicDistributedZk2Test and BasicDistributedZkTest
> -----------------------------------------------------------------------------------------
>
>                 Key: SOLR-5684
>                 URL: https://issues.apache.org/jira/browse/SOLR-5684
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.0
>            Reporter: Tomás Fernández Löbbe
>            Priority: Minor
>             Fix For: 5.0
>
>         Attachments: SOLR-5684.patch
>
>
> I found that the tests BasicDistributedZk2Test and BasicDistributedZkTest are creating multiple HttpSolrServer objects to which they don't call the shutdown method after using them.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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