ClassCastException moving issues from In Progress swim lane to Done swim lane

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Medium
    • Release 3.3
    • Affects Version/s: Release 3.2.1
    • Component/s: None
    • None

      Attempting to drag and drop an issue on the Task Board from In Progress to Done throws a class cast exception. This is a default config of GH 3.2.1, running on JIRA 3.13.1. I also saw this behavior in 3.1.1.

      Here's the relevant (probably) portion of the stack trace from catalina.out. I'll attach the whole log in a second.

      java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection
      	at com.atlassian.jira.issue.fields.AbstractVersionsSystemField.getValueFromParams(AbstractVersionsSystemField.java:133)
      	at com.atlassian.jira.issue.fields.FixVersionsSystemField.updateIssue(FixVersionsSystemField.java:95)
      	at com.atlassian.jira.workflow.WorkflowTransitionUtilImpl.progress(WorkflowTransitionUtilImpl.java:258)
      	at com.pyxis.greenhopper.jira.util.JiraUtil.changeStatus(JiraUtil.java:275)
      	at com.pyxis.greenhopper.jira.actions.TaskBoardAction.updateIssueState(TaskBoardAction.java:456)
      	at com.pyxis.greenhopper.jira.actions.TaskBoardAction.doUpdateStatusWithInputs(TaskBoardAction.java:163)
      	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:597)
      	at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61)
      	at webwork.util.InjectionUtils.invoke(InjectionUtils.java:52)
      	at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:417)
      	at webwork.action.ActionSupport.execute(ActionSupport.java:146)
      	at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54)
      	at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132)
      
      • I can successfully drag issues from To Do to In Progress. It seems like it might only affect Resolved or Closed statuses
      • I can successfully resolve or close issues using the normal JIRA workflow process.

      Workaround

      Withdraw the "Required" setting on your FixVersion field in the transition screens.

            Assignee:
            JC
            Reporter:
            Stu Belden
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: