java.lang.UnsupportedOperationException

Atlassian JIRA | David Currie [Atlassian] | 3 years ago
  1. 0

    h3. Summary When dragging an issue into a version on the Scrum planning board, the issue is not updated and an 'Internal Server Error' is displayed. h3. Steps to Reproduce # Create a Sample Scrum Project. # Add one of the issues, for example SSP-10 to version 3. # Archive version 2. # Drag that issue into version 3. h3. Expected Results The issue updates the version to 3, and removes the archived versions as listed in the Confirmation screenshot. h3. Actual Results An 'Internal Server Error' is thrown and the below errors appear in the logs: {noformat} 2014-05-20 16:32:28,444 http-bio-60625-exec-24 ERROR admin 992x897x1 ujh0b0 127.0.0.1 /rest/greenhopper/1.0/xboard/issue/fixversion/set [web.rapid.issue.IssueResource] Unable to complete GreenHopper REST method java.lang.UnsupportedOperationException at java.util.AbstractCollection.add(AbstractCollection.java:260) at java.util.AbstractCollection.addAll(AbstractCollection.java:342) at com.atlassian.jira.issue.fields.AbstractVersionsSystemField.getUpdatedVersions(AbstractVersionsSystemField.java:491) at com.atlassian.jira.issue.fields.AbstractVersionsSystemField.updateValue(AbstractVersionsSystemField.java:391) at com.atlassian.jira.issue.managers.DefaultIssueManager.updateFieldValues(DefaultIssueManager.java:802) at com.atlassian.jira.issue.managers.DefaultIssueManager.updateIssue(DefaultIssueManager.java:767) <+3> (NativeMethodAccessorImpl.java:57) (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at com.sun.proxy.$Proxy22.updateIssue(Unknown Source) <+3> (NativeMethodAccessorImpl.java:57) (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy22.updateIssue(Unknown Source) at com.atlassian.greenhopper.service.version.VersionServiceImpl.setFixVersions(VersionServiceImpl.java:255) at com.atlassian.greenhopper.web.rapid.issue.IssueResource.setFixVersion(IssueResource.java:377) at com.atlassian.greenhopper.web.rapid.issue.IssueResource.access$1500(IssueResource.java:54) at com.atlassian.greenhopper.web.rapid.issue.IssueResource$6.call(IssueResource.java:286) at com.atlassian.greenhopper.web.rapid.issue.IssueResource$6.call(IssueResource.java:268) at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48) at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:60) {noformat} h3. Workaround # Unarchive and unrelease the archived version(s) on that issue. # Release the version and move issues to another version as per the released screenshot. # Archive the version again.

    Atlassian JIRA | 3 years ago | David Currie [Atlassian]
    java.lang.UnsupportedOperationException
  2. 0

    h3. Summary When dragging an issue into a version on the Scrum planning board, the issue is not updated and an 'Internal Server Error' is displayed. h3. Steps to Reproduce # Create a Sample Scrum Project. # Add one of the issues, for example SSP-10 to version 2. # Archive version 2. # Drag that issue into version 3. h3. Expected Results The issue updates the version to 3, and removes the archived versions as listed in the Confirmation screenshot. h3. Actual Results An 'Internal Server Error' is thrown and the below errors appear in the logs: {noformat} 2014-05-20 16:32:28,444 http-bio-60625-exec-24 ERROR admin 992x897x1 ujh0b0 127.0.0.1 /rest/greenhopper/1.0/xboard/issue/fixversion/set [web.rapid.issue.IssueResource] Unable to complete GreenHopper REST method java.lang.UnsupportedOperationException at java.util.AbstractCollection.add(AbstractCollection.java:260) at java.util.AbstractCollection.addAll(AbstractCollection.java:342) at com.atlassian.jira.issue.fields.AbstractVersionsSystemField.getUpdatedVersions(AbstractVersionsSystemField.java:491) at com.atlassian.jira.issue.fields.AbstractVersionsSystemField.updateValue(AbstractVersionsSystemField.java:391) at com.atlassian.jira.issue.managers.DefaultIssueManager.updateFieldValues(DefaultIssueManager.java:802) at com.atlassian.jira.issue.managers.DefaultIssueManager.updateIssue(DefaultIssueManager.java:767) <+3> (NativeMethodAccessorImpl.java:57) (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at com.sun.proxy.$Proxy22.updateIssue(Unknown Source) <+3> (NativeMethodAccessorImpl.java:57) (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy22.updateIssue(Unknown Source) at com.atlassian.greenhopper.service.version.VersionServiceImpl.setFixVersions(VersionServiceImpl.java:255) at com.atlassian.greenhopper.web.rapid.issue.IssueResource.setFixVersion(IssueResource.java:377) at com.atlassian.greenhopper.web.rapid.issue.IssueResource.access$1500(IssueResource.java:54) at com.atlassian.greenhopper.web.rapid.issue.IssueResource$6.call(IssueResource.java:286) at com.atlassian.greenhopper.web.rapid.issue.IssueResource$6.call(IssueResource.java:268) at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48) at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:60) {noformat} h3. Workaround # Unarchive and unrelease the archived version(s) on that issue. # Release the version and move issues to another version as per the released screenshot. # Archive the version again.

    Atlassian JIRA | 3 years ago | David Currie [Atlassian]
    java.lang.UnsupportedOperationException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Arraylist addAll() method throwing exception

    Stack Overflow | 3 years ago | Prabhakaran
    java.lang.UnsupportedOperationException
  5. 0

    java.lang.UnsupportedOperationException when combining two Sets

    Stack Overflow | 3 years ago | user1236048
    java.lang.UnsupportedOperationException

  1. empt-ak 1 times, last 1 month ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsupportedOperationException

    No message provided

    at java.util.AbstractCollection.add()
  2. Java RT
    AbstractCollection.addAll
    1. java.util.AbstractCollection.add(AbstractCollection.java:260)
    2. java.util.AbstractCollection.addAll(AbstractCollection.java:342)
    2 frames
  3. com.atlassian.jira
    DefaultIssueManager.updateFieldValues
    1. com.atlassian.jira.issue.fields.AbstractVersionsSystemField.getUpdatedVersions(AbstractVersionsSystemField.java:491)
    2. com.atlassian.jira.issue.fields.AbstractVersionsSystemField.updateValue(AbstractVersionsSystemField.java:391)
    3. com.atlassian.jira.issue.managers.DefaultIssueManager.updateFieldValues(DefaultIssueManager.java:802)
    3 frames