java.util.ConcurrentModificationException

Atlassian JIRA | Jeff Turner | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Found this exception in the logs immediately after an upgrade: SEVERE: METHOD: "versionsUnreleased", exception: java.util.ConcurrentModificationException at org.apache.commons.collections.SequencedHashMap$OrderedIterator.next(SequencedHashMap.java:757) at java.util.AbstractCollection.toArray(AbstractCollection.java:174) at java.util.ArrayList.<init>(ArrayList.java:136) at com.atlassian.jira.project.version.CachingVersionStore.getAllVersions(CachingVersionStore.java:32) at com.atlassian.jira.project.version.DefaultVersionManager.queryDatabase(DefaultVersionManager.java:739) at com.atlassian.jira.project.version.DefaultVersionManager.getVersionsUnreleased(DefaultVersionManager.java:431) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:52) at webwork.util.ValueStack.findValue(ValueStack.java:426) at webwork.util.SimpleTest.test(SimpleTest.java:391) at webwork.util.SimpleTest.test(SimpleTest.java:476) at webwork.util.ValueStack.test(ValueStack.java:129) at webwork.view.taglib.IfTag.doStartTag(IfTag.java:38) at org.apache.jsp.secure.views.browser.browseproject_jsp._jspService(browseproject_jsp.java:302) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.util.ConcurrentModificationException
  2. 0

    Found this exception in the logs immediately after an upgrade: SEVERE: METHOD: "versionsUnreleased", exception: java.util.ConcurrentModificationException at org.apache.commons.collections.SequencedHashMap$OrderedIterator.next(SequencedHashMap.java:757) at java.util.AbstractCollection.toArray(AbstractCollection.java:174) at java.util.ArrayList.<init>(ArrayList.java:136) at com.atlassian.jira.project.version.CachingVersionStore.getAllVersions(CachingVersionStore.java:32) at com.atlassian.jira.project.version.DefaultVersionManager.queryDatabase(DefaultVersionManager.java:739) at com.atlassian.jira.project.version.DefaultVersionManager.getVersionsUnreleased(DefaultVersionManager.java:431) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:52) at webwork.util.ValueStack.findValue(ValueStack.java:426) at webwork.util.SimpleTest.test(SimpleTest.java:391) at webwork.util.SimpleTest.test(SimpleTest.java:476) at webwork.util.ValueStack.test(ValueStack.java:129) at webwork.view.taglib.IfTag.doStartTag(IfTag.java:38) at org.apache.jsp.secure.views.browser.browseproject_jsp._jspService(browseproject_jsp.java:302) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.util.ConcurrentModificationException

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      No message provided

      at org.apache.commons.collections.SequencedHashMap$OrderedIterator.next()
    2. Commons Collections
      SequencedHashMap$OrderedIterator.next
      1. org.apache.commons.collections.SequencedHashMap$OrderedIterator.next(SequencedHashMap.java:757)
      1 frame
    3. Java RT
      ArrayList.<init>
      1. java.util.AbstractCollection.toArray(AbstractCollection.java:174)
      2. java.util.ArrayList.<init>(ArrayList.java:136)
      2 frames
    4. com.atlassian.jira
      DefaultVersionManager.getVersionsUnreleased
      1. com.atlassian.jira.project.version.CachingVersionStore.getAllVersions(CachingVersionStore.java:32)
      2. com.atlassian.jira.project.version.DefaultVersionManager.queryDatabase(DefaultVersionManager.java:739)
      3. com.atlassian.jira.project.version.DefaultVersionManager.getVersionsUnreleased(DefaultVersionManager.java:431)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    6. webwork.util
      ValueStack.test
      1. webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61)
      2. webwork.util.InjectionUtils.invoke(InjectionUtils.java:52)
      3. webwork.util.ValueStack.findValue(ValueStack.java:426)
      4. webwork.util.SimpleTest.test(SimpleTest.java:391)
      5. webwork.util.SimpleTest.test(SimpleTest.java:476)
      6. webwork.util.ValueStack.test(ValueStack.java:129)
      6 frames
    7. webwork.view.taglib
      IfTag.doStartTag
      1. webwork.view.taglib.IfTag.doStartTag(IfTag.java:38)
      1 frame
    8. org.apache.jsp
      browseproject_jsp._jspService
      1. org.apache.jsp.secure.views.browser.browseproject_jsp._jspService(browseproject_jsp.java:302)
      1 frame
    9. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
      1 frame
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      1 frame