Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-66365

UpdateIssueFieldFunction workflow post function is broken

    XMLWordPrintable

Details

    Description

      Symptoms

      After an upgrade to 6.0-OD-9, any transition using this post function is broken. This is affecting the Assignee field, if it's set to Automatic (and possibly Unassigned). See screenshot.

      The following stack trace exists in log:

      @40000000515163ab18e60fc4 2013-03-26 09:00:17,411 TP-Processor12 ERROR sysadmin 540x1209x1 1x8q056 111.221.53.138,59.167.29.201 /secure/admin/workflows/ViewWor
      kflowTransition.jspa [webwork.util.ValueStack] METHOD: "formatDescriptor", exception: 
      @40000000515163ab18e61b7c java.lang.NullPointerException
      @40000000515163ab18e61b7c       at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
      @40000000515163ab18e61f64       at com.google.common.collect.ImmutableMap.of(ImmutableMap.java:75)
      @40000000515163ab18e6234c       at com.atlassian.jira.plugin.workflow.UpdateIssueFieldFunctionPluginFactory.getViewHtml(UpdateIssueFieldFunctionPluginFactory.j
      ava:200)
      @40000000515163ab18e64674       at com.atlassian.jira.plugin.workflow.UpdateIssueFieldFunctionPluginFactory.getVelocityParamsForView(UpdateIssueFieldFunctionPl
      uginFactory.java:111)
      @40000000515163ab18e64a5c       at com.atlassian.jira.plugin.workflow.AbstractWorkflowPluginFactory.getVelocityParams(AbstractWorkflowPluginFactory.java:34)
      @40000000515163ab18e64e44       at com.atlassian.jira.plugin.workflow.WorkflowFunctionModuleDescriptor.getHtml(WorkflowFunctionModuleDescriptor.java:119)
      @40000000515163ab18e66d84       at com.atlassian.jira.web.bean.WorkflowDescriptorFormatBean.formatDescriptor(WorkflowDescriptorFormatBean.java:81)
      @40000000515163ab18e67d24       at sun.reflect.GeneratedMethodAccessor528.invoke(Unknown Source)
      @40000000515163ab18e6810c       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      @40000000515163ab18e684f4       at java.lang.reflect.Method.invoke(Method.java:597)
      @40000000515163ab18e688dc       at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)
      @40000000515163ab18e690ac       at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
      @40000000515163ab18e69494       at webwork.util.ValueStack.findValue(ValueStack.java:514)
      @40000000515163ab18e69494       at webwork.util.ValueStack.findValue(ValueStack.java:213)
      @40000000515163ab18e6987c       at webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.java:62)
      @40000000515163ab18e69c64       at webwork.view.taglib.BasicPropertyTag.doStartTag(BasicPropertyTag.java:54)
      @40000000515163ab18e6a434       at org.apache.jsp.secure.admin.views.workflow.workflow_002dconditions_002dvalidators_002dresults_jsp._jspx_meth_ww_005fproperty
      _005f33(workflow_002dconditions_002dvalidators_002dresults_jsp.java:6016)
      @40000000515163ab18e6ac04       at org.apache.jsp.secure.admin.views.workflow.workflow_002dconditions_002dvalidators_002dresults_jsp._jspx_meth_ww_005fiterator
      _005f2(workflow_002dconditions_002dvalidators_002dresults_jsp.java:5836)
      @40000000515163ab18e6bba4       at org.apache.jsp.secure.admin.views.workflow.workflow_002dconditions_002dvalidators_002dresults_jsp._jspx_meth_ww_005fif_005f4
      6(workflow_002dconditions_002dvalidators_002dresults_jsp.java:5456)
      @40000000515163ab18e6bf8c       at org.apache.jsp.secure.admin.views.workflow.workflow_002dconditions_002dvalidators_002dresults_jsp._jspService(workflow_002dc
      onditions_002dvalidators_002dresults_jsp.java:282)
      @40000000515163ab18e6cb44       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      
      

      The broken function cannot be edited, deleted, etc unless one creates another same post function, but with an assignee value.

      Steps to reproduce

      To reproduce, simply add this post function to any transition.

      Attachments

        Issue Links

          Activity

            People

              edalgliesh Eric Dalgliesh
              amohdaris Azwandi Mohd Aris (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: