Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-5288

Work mode REST call not threadsafe

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 5.10.3
    • 5.10.3
    • None
    • 5.10.2-SNAPSHOT, JIRA 5.0.5

    Description

      Putting the work mode under load causes ConcurrentModificationExceptions in

      2012-06-07 09:49:26,810 http-8080-45 ERROR admin 589x2537x10 s71z0v 127.0.0.1,127.0.0.1 /rest/greenhopper/1.0/xboard/work/allData.json [server.impl.application.WebApplicationImpl] Internal server error
      java.util.ConcurrentModificationException
              at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
              at java.util.AbstractList$Itr.next(AbstractList.java:343)
              at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010)
              at com.atlassian.plugin.util.collect.TransformingIterator.next(TransformingIterator.java:35)
              at com.atlassian.plugin.util.collect.CollectionUtil.foreach(CollectionUtil.java:17)
              at com.atlassian.plugin.util.collect.CollectionUtil.toList(CollectionUtil.java:37)
              at com.atlassian.plugin.util.collect.CollectionUtil.transform(CollectionUtil.java:52)
              at com.atlassian.plugin.util.collect.CollectionUtil.transform(CollectionUtil.java:61)
              at com.atlassian.greenhopper.service.project.ProjectHistoryServiceImpl.registerRecentProjectsWithProjects(ProjectHistoryServiceImpl.java:84)
              at com.atlassian.greenhopper.service.project.ProjectHistoryServiceImpl.registerRecentProjects(ProjectHistoryServiceImpl.java:53)
              at com.atlassian.greenhopper.web.rapid.work.WorkResource.registerRecentProjects(WorkResource.java:114)
              at com.atlassian.greenhopper.web.rapid.work.WorkResource.access$4(WorkResource.java:111)
              at com.atlassian.greenhopper.web.rapid.work.WorkResource$1.call(WorkResource.java:86)
              at com.atlassian.greenhopper.web.rapid.work.WorkResource$1.call(WorkResource.java:1)
              at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48)
              at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:48)
              at com.atlassian.greenhopper.web.rapid.work.WorkResource.getPoolData(WorkResource.java:58)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ahennecke Alex Hennecke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: