You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2018/10/22 17:44:00 UTC

[jira] [Commented] (SOLR-9425) TestSolrConfigHandlerConcurrent failure: NullPointerException

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

Christine Poerschke commented on SOLR-9425:
-------------------------------------------

I think this is a problem with the test where two threads could do {{collectErrors.add(...);}} at the same time. Attached proposed patch, which somehow seems too easy though?

> TestSolrConfigHandlerConcurrent failure: NullPointerException
> -------------------------------------------------------------
>
>                 Key: SOLR-9425
>                 URL: https://issues.apache.org/jira/browse/SOLR-9425
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Steve Rowe
>            Priority: Major
>         Attachments: Lucene-Solr-tests-master.7870.consoleText.txt, SOLR-9425.patch
>
>
> From my Jenkins - does not reproduce for me - I'll attach the Jenkins log: 
> {noformat}
> Checking out Revision f8536ce72606af6c75cf9137f354da57bb0f3dbc (refs/remotes/origin/master)
> [...]
>   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestSolrConfigHandlerConcurrent -Dtests.method=test -Dtests.seed=7B5B674C5C76D216 -Dtests.slow=true -Dtests.locale=lt -Dtests.timezone=Antarctica/Troll -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>   [junit4] ERROR   19.9s J6  | TestSolrConfigHandlerConcurrent.test <<<
>   [junit4]    > Throwable #1: java.lang.NullPointerException
>   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([7B5B674C5C76D216:F30F5896F28ABFEE]:0)
>   [junit4]    > 	at org.apache.solr.handler.TestSolrConfigHandlerConcurrent.test(TestSolrConfigHandlerConcurrent.java:109)
>   [junit4]    > 	at org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:985)
>   [junit4]    > 	at org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsStatement.evaluate(BaseDistributedSearchTestCase.java:960)
>   [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
> {noformat}
> Looking through email notifications, this happens fairly regularly on ASF and Policeman Jenkins in addition to mine - the earliest I found was on February 12, 2015.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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