You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/01/08 08:35:00 UTC

[jira] [Commented] (SOLR-11821) ConcurrentModificationException in SimSolrCloudTestCase.tearDown

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

ASF subversion and git services commented on SOLR-11821:
--------------------------------------------------------

Commit 3d8ef981cbe150d5f443ee15081b3fff2a6ab50e in lucene-solr's branch refs/heads/master from [~shalinmangar]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3d8ef98 ]

SOLR-11821: ConcurrentModificationException in SimSolrCloudTestCase.tearDown


> ConcurrentModificationException in SimSolrCloudTestCase.tearDown
> ----------------------------------------------------------------
>
>                 Key: SOLR-11821
>                 URL: https://issues.apache.org/jira/browse/SOLR-11821
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: AutoScaling, Tests
>            Reporter: Shalin Shekhar Mangar
>             Fix For: master (8.0), 7.3
>
>         Attachments: SOLR-11821.patch
>
>
> I noticed a few test failures on jenkins such as the following:
> {code}
> FAILED:  org.apache.solr.cloud.autoscaling.sim.TestComputePlanAction.testNodeLost
> Error Message:
> Stack Trace:
> java.util.ConcurrentModificationException
>         at __randomizedtesting.SeedInfo.seed([A41248828EFF34E3:1B07867C0D155165]:0)
>         at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:937)
>         at java.base/java.util.ArrayList$Itr.next(ArrayList.java:891)
>         at org.apache.solr.cloud.autoscaling.sim.SimSolrCloudTestCase.tearDown(SimSolrCloudTestCase.java:141)
> {code}
> The line in question iterates over a synchronized List but synchronized list does not return a safe iterator.



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

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