Send an Email post function not dunctioning
Hi Jira 7.1.8 Workflow toolbox 2.2.13
When creating a Send an email post function, the post function does not function Attached a video clip showing
When disabling the plugin, the post function shows the relevant information
Comments (11)
-
repo owner -
reporter Hi When creating the post function I see it in the post function list like this:
Then when the transition is selected in the issue, I get the following error
When I disable the plugin i can see the post function properly
-
repo owner I would like to see the log file of your JIRA server, or the part of the log file associated with the error. Please, attach to the issue, or send it to support@workflowarts.com.
Did the problem appear when updating the version of the plugin? From which version did you updated?
-
reporter The plugin was newly installed, no updates
this is the error
2016-07-17 10:19:57,909 http-bio-8443-exec-22 ERROR admin 619x35317x1 27773a 10.20.30.240 /secure/WorkflowUIDispatcher.jspa [c.a.jira.workflow.OSWorkflowManager] Caught exception while attempting to perform action 21 from workflow 24313 on issue 'OM-1' com.opensymphony.module.propertyset.PropertyImplementationException: Property 'generalizedField' not found at com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet.getType(OFBizPropertySet.java:162) at com.opensymphony.module.propertyset.AbstractPropertySet.getAsActualType(AbstractPropertySet.java:83) at com.opensymphony.workflow.util.DefaultVariableResolver.getVariableFromMaps(DefaultVariableResolver.java:53) at com.opensymphony.workflow.util.DefaultVariableResolver.translateVariables(DefaultVariableResolver.java:80) at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1038) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) at com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:564) at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowActionInsideTxn(OSWorkflowManager.java:826) at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowAction(OSWorkflowManager.java:786) at com.atlassian.jira.bc.issue.DefaultIssueService.transition(DefaultIssueService.java:484) at com.atlassian.jira.web.action.workflow.SimpleWorkflowAction.doExecute(SimpleWorkflowAction.java:28) ... 1 filtered at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63) ... 7 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ... 55 filtered at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) ... 62 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 38 filtered at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:169) at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:25) at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil$.outOfCustomerContext(CustomerContextUtil.scala:48) at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil.outOfCustomerContext(CustomerContextUtil.scala) at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:24) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:164) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:120) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:112) ... 53 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)
-
reporter When enabling the plugin, No editing can be done
Related error in log:
2016-07-17 10:27:02,800 http-bio-8443-exec-21 ERROR admin 627x35637x1 1p7b3h3 10.20.30.240 /secure/admin/workflows/EditWorkflowTransitionPostFunctionParams!default.jspa [webwork.util.ValueStack] query="/descriptorHtml" {[id="null" type="5" values=""]} {[id="descriptorHtml" type="8" values=""]} java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.util.ValueStack.findValue(ValueStack.java:417) at webwork.util.ValueStack.findValue(ValueStack.java:216) at webwork.view.taglib.WebWorkBodyTagSupport.findValue(WebWorkBodyTagSupport.java:62) at webwork.view.taglib.BasicPropertyTag.doStartTag(BasicPropertyTag.java:54) at jsp.secure.admin.views.workflow.editworkflowtransitiondescriptorparams_jsp._jspx_meth_ww_005fproperty_005f4(editworkflowtransitiondescriptorparams_jsp.java:1019) at jsp.secure.admin.views.workflow.editworkflowtransitiondescriptorparams_jsp._jspx_meth_page_005fparam_005f6(editworkflowtransitiondescriptorparams_jsp.java:895) at jsp.secure.admin.views.workflow.editworkflowtransitiondescriptorparams_jsp._jspx_meth_page_005fapplyDecorator_005f0(editworkflowtransitiondescriptorparams_jsp.java:206) at jsp.secure.admin.views.workflow.editworkflowtransitiondescriptorparams_jsp._jspService(editworkflowtransitiondescriptorparams_jsp.java:115) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ... 18 filtered at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:37) ... 79 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 22 filtered at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:107) ... 18 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ... 55 filtered at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) ... 66 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 38 filtered at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:169) at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:25) at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil$.outOfCustomerContext(CustomerContextUtil.scala:48) at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil.outOfCustomerContext(CustomerContextUtil.scala) at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:24) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:164) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:120) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:112) ... 53 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NumberFormatException: For input string: "${generalizedField.getId()}" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:578) at java.lang.Long.valueOf(Long.java:803) at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.<init>(GeneralizedField.java:156) at com.fca.jira.plugins.workflowToolbox.SendEmailFunctionFactory.getVelocityParamsForView(SendEmailFunctionFactory.java:110) at com.atlassian.jira.plugin.workflow.AbstractWorkflowPluginFactory.getVelocityParams(AbstractWorkflowPluginFactory.java:36) at com.atlassian.jira.plugin.workflow.WorkflowFunctionModuleDescriptor.getHtml(WorkflowFunctionModuleDescriptor.java:98) at com.atlassian.jira.web.action.admin.workflow.AbstractEditWorkflowTransitionDescriptorParams.getDescriptorHtml(AbstractEditWorkflowTransitionDescriptorParams.java:183) ... 383 more
-
repo owner Can you please attach the XML export of your workflow?
Are you experiencing the problem in a production environment, and having a workflow out of service?
-
reporter Sent the xml to the support email
-
reporter This is a production env, but the projects itself is not, yet
-
repo owner The bug only happens when you select From = User in field.
I have fixed it in version 2.2.14_beta_3.
Please, confirm that this version solves your problem.
-
reporter Works, Thanks!!
-
repo owner - changed status to resolved
Fixed in just released version 2.2.14.
- Log in to comment
Hi Itamar,
The video only shows movement until second 12, after that it displays a still image.
Anyway, I have tested post-function "Send an email" with JIRA Workflow Toolbox 2.2.13 and JIRA 7.1.7, and it works correctly.
Please, attach the video again, or explain in detail the failure you are experiencing.
Thanks.