Workflow Error - Copy Attachments to sub-tasks
Hello Fidel,
Last night we have upgraded our Jira version from 6.4.2 to 7.1.1 and we came across with an in one of the workflow.
We are using a post function which copy attachments to subtasks
Name of the post function: "Write field on linked issues or subtasks (Writes to a field in linked issues and subtasks fulfilling a condition.)"
We are getting workflow error:
"It seems that you have tried to perform an illegal workflow operation.
If you think this message is wrong, please contact your JIRA administrators. "
In catalina.out log I can see the following:
2016-03-21 10:12:08,418 http-nio-8080-exec-3 ERROR shai.dahan 612x162737x2 fdwpen 195.244.215.4,127.0.0.1 /secure/WorkflowUIDispatcher.jspa [c.a.jira.workflow.OSWorkflowManager] Caught exception while attempting to perform action 231 from workflow 392913 on issue 'OCC-22596' com.opensymphony.module.propertyset.InvalidPropertyTypeException at com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet.get(OFBizPropertySet.java:273) at com.opensymphony.module.propertyset.AbstractPropertySet.getObject(AbstractPropertySet.java:259) at com.fca.jira.plugins.workflowToolbox.shared.ConsolidatedGeneralizedAttachment.getAttachmentProperties(ConsolidatedGeneralizedAttachment.java:84) at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.addAttachments(GeneralizedField.java:3644) at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.setValue(GeneralizedField.java:3342) at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.setValue(GeneralizedField.java:3178) at com.fca.jira.plugins.workflowToolbox.shared.WorkflowToolbox.writeRemoteIssue(WorkflowToolbox.java:463) at com.fca.jira.plugins.workflowToolbox.WriteLinkedIssuesFunction.execute(WriteLinkedIssuesFunction.java:153) at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) 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:725) ... 50 filtered at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) ... 23 filtered at com.intenso.jira.contentinjection.filter.ContentInjectionFilter.doFilter(ContentInjectionFilter.java:71) ... 42 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 89 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
Could you please advise?
Please note that the same post function, which copy attachments to linked issues, does work and doesn't give any error.
Comments (5)
-
repo owner -
Account Deactivated reporter Generating the same workflow error
In catalina.out:
2016-03-21 11:28:46,061 http-nio-8080-exec-4 ERROR shai.dahan 688x212166x3 1u4f3v2 195.244.215.4,127.0.0.1 /secure/WorkflowUIDispatcher.jspa [c.a.jira.workflow.OSWorkflowManager] Caught exception while attempting to perform action 231 from workflow 392913 on issue 'OCC-22596' com.opensymphony.module.propertyset.InvalidPropertyTypeException at com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet.get(OFBizPropertySet.java:273) at com.opensymphony.module.propertyset.AbstractPropertySet.getObject(AbstractPropertySet.java:259) at com.fca.jira.plugins.workflowToolbox.shared.ConsolidatedGeneralizedAttachment.getAttachmentProperties(ConsolidatedGeneralizedAttachment.java:99) at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.addAttachments(GeneralizedField.java:3669) at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.setValue(GeneralizedField.java:3367) at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.setValue(GeneralizedField.java:3203) at com.fca.jira.plugins.workflowToolbox.shared.WorkflowToolbox.writeRemoteIssue(WorkflowToolbox.java:471) at com.fca.jira.plugins.workflowToolbox.WriteLinkedIssuesFunction.execute(WriteLinkedIssuesFunction.java:153) at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) 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:725) ... 50 filtered at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) ... 23 filtered at com.intenso.jira.contentinjection.filter.ContentInjectionFilter.doFilter(ContentInjectionFilter.java:71) ... 42 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 89 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source)
-
repo owner Sorry, I made a mistake in the new version. Please, try 2.2.9_beta_9, and share the error message in the log file.
Thanks.
-
Account Deactivated reporter Great Fidel this is working as expected now :) - excellent !!!
Sorry for the delay in response as I had to get some sleep, after a long night :)
There is no error in the console and there is no error in catalina.out either
Well done!
-
repo owner - changed status to resolved
Fixed in version 2.2.9.
- Log in to comment
Hi Shai,
Can you please try version 2.2.9_beta_8?
Let me know if it solves the problem.
In any case, please, look at the log file for some errors, and paste it in this issue. I expect an error message.
Thanks.