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 2018/01/08 08:36:00 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-11821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar resolved SOLR-11821.
------------------------------------------
    Resolution: Fixed
      Assignee: Shalin Shekhar Mangar

> 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
>            Assignee: 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