com.atlassian.jira.exception.CreateException: Can't transition workflow instance #18728. Current state is 4, requested state is 1

JIRA | Shawn Plummer | 4 months ago
  1. 0

    Since we upgraded to 7.1.9 our create on transtiion subtask option is not working. This seems very similar to CSOT-410 but that was fixed back in 7.0.1 of JIRA so.. not sure. Here are the logs. {code:java} 2016-07-27 13:15:53,762 ajp-nio-8009-exec-36 ERROR plummer 795x337894x1 9wge1r 137.238.61.99 /secure/CommentAssignIssue.jspa [o.s.j.cot.functions.CreateSubIssueFunction] Could not create issue due to exception: com.atlassian.jira.exception.CreateException: Can't transition workflow instance #18728. Current state is 4, requested state is 1 com.atlassian.jira.exception.CreateException: Can't transition workflow instance #18728. Current state is 4, requested state is 1 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:588) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssueObject(DefaultIssueManager.java:594) at sun.reflect.GeneratedMethodAccessor5023.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at com.sun.proxy.$Proxy450.createIssueObject(Unknown Source) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:498) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136) at com.sun.proxy.$Proxy450.createIssueObject(Unknown Source) at org.swift.jira.cot.functions.AbstractCreateFunction.createIssue(AbstractCreateFunction.java:217) at org.swift.jira.cot.functions.AbstractCreateFunction.createIssues(AbstractCreateFunction.java:167) at org.swift.jira.cot.functions.AbstractCreateFunction.process(AbstractCreateFunction.java:146) at org.swift.jira.library.AbstractPostFunction.execute(AbstractPostFunction.java:171) 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.issue.CommentAssignIssue.doExecute(CommentAssignIssue.java:162) ... 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) ... 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) ... 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) ... 12 filtered at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:201) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:178) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:85) at net.bull.javamelody.JiraMonitoringFilter.doFilter(JiraMonitoringFilter.java:105) ... 45 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: com.atlassian.jira.workflow.WorkflowException: Can't transition workflow instance #18728. Current state is 4, requested state is 1 at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:758) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:580) ... 266 more Caused by: com.opensymphony.workflow.InvalidEntryStateException: Can't transition workflow instance #18728. Current state is 4, requested state is 1 at com.opensymphony.workflow.AbstractWorkflow.changeEntryState(AbstractWorkflow.java:493) at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:741) ... 267 more 2016-07-27 13:15:54,457 ajp-nio-8009-exec-33 WARN plummer 795x337896x1 9wge1r 137.238.61.99 /secure/AjaxIssueAction!default.jspa [c.a.j.i.search.util.SearchPropertiesManager] Invalid filter ID in user preferences: {code}

    JIRA | 4 months ago | Shawn Plummer
    com.atlassian.jira.exception.CreateException: Can't transition workflow instance #18728. Current state is 4, requested state is 1
  2. 0

    I receive the following error when executing a Transition that uses the Create a Subtask Post Function: {noformat} 2016-04-01 16:27:24,009 http-nio-8080-exec-60 ERROR brettc 987x943370x1 m3jz2w 66.37.35.162,127.0.0.1 /secure/WorkflowUIDispatcher.jspa [o.s.j.cot.functions.CreateSubIssueFunction] Could not create issue due to exception: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:616) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssueObject(DefaultIssueManager.java:625) at sun.reflect.GeneratedMethodAccessor19116.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:30) at com.sun.proxy.$Proxy166.createIssueObject(Unknown Source) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:161) at com.sun.proxy.$Proxy166.createIssueObject(Unknown Source) at org.swift.jira.cot.functions.AbstractCreateFunction.createIssue(AbstractCreateFunction.java:218) at org.swift.jira.cot.functions.AbstractCreateFunction.createIssues(AbstractCreateFunction.java:168) at org.swift.jira.cot.functions.AbstractCreateFunction.process(AbstractCreateFunction.java:147) at org.swift.jira.library.AbstractPostFunction.execute(AbstractPostFunction.java:171) 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:825) at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowAction(OSWorkflowManager.java:786) at com.atlassian.jira.bc.issue.DefaultIssueService.transition(DefaultIssueService.java:430) 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) ... 151 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: [InvalidInputException: [Error map: [{customfield_10501=You must set your prototyping environment.}]] [Error list: [[]]] at com.googlecode.jsu.util.ValidatorErrorsBuilder.process(ValidatorErrorsBuilder.java:40) at com.innovalog.jmwe.plugins.validators.GenericValidator.validate(GenericValidator.java:96) at com.atlassian.jira.workflow.SkippableValidator.validate(SkippableValidator.java:45) at com.opensymphony.workflow.AbstractWorkflow.verifyInputs(AbstractWorkflow.java:1512) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1203) at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:741) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:611) ... 238 more {noformat}

    JIRA | 8 months ago | Brett Cohen
    com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow:
  3. 0

    I receive the following error when executing a Transition that uses the Create a Subtask Post Function: {noformat} 2016-04-01 16:27:24,009 http-nio-8080-exec-60 ERROR brettc 987x943370x1 m3jz2w 66.37.35.162,127.0.0.1 /secure/WorkflowUIDispatcher.jspa [o.s.j.cot.functions.CreateSubIssueFunction] Could not create issue due to exception: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:616) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssueObject(DefaultIssueManager.java:625) at sun.reflect.GeneratedMethodAccessor19116.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:30) at com.sun.proxy.$Proxy166.createIssueObject(Unknown Source) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:161) at com.sun.proxy.$Proxy166.createIssueObject(Unknown Source) at org.swift.jira.cot.functions.AbstractCreateFunction.createIssue(AbstractCreateFunction.java:218) at org.swift.jira.cot.functions.AbstractCreateFunction.createIssues(AbstractCreateFunction.java:168) at org.swift.jira.cot.functions.AbstractCreateFunction.process(AbstractCreateFunction.java:147) at org.swift.jira.library.AbstractPostFunction.execute(AbstractPostFunction.java:171) 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:825) at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowAction(OSWorkflowManager.java:786) at com.atlassian.jira.bc.issue.DefaultIssueService.transition(DefaultIssueService.java:430) 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) ... 151 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: [InvalidInputException: [Error map: [{customfield_10501=You must set your prototyping environment.}]] [Error list: [[]]] at com.googlecode.jsu.util.ValidatorErrorsBuilder.process(ValidatorErrorsBuilder.java:40) at com.innovalog.jmwe.plugins.validators.GenericValidator.validate(GenericValidator.java:96) at com.atlassian.jira.workflow.SkippableValidator.validate(SkippableValidator.java:45) at com.opensymphony.workflow.AbstractWorkflow.verifyInputs(AbstractWorkflow.java:1512) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1203) at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:741) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:611) ... 238 more {noformat}

    JIRA | 8 months ago | Brett Cohen
    com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi Bob, We have been facing this in our production jira due to this jira going down very often. Atlassian suggested us to resolve the issue. Please provide the cause asap. com.atlassian.jira.exception.CreateException: Can't transition workflow instance #160106. Current state is 0, requested state is 1 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:692) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:615) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssueObject(DefaultIssueManager.java:705) at sun.reflect.GeneratedMethodAccessor3144.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at com.sun.proxy.$Proxy34.createIssueObject(Unknown Source) <+2> at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy34.createIssueObject(Unknown Source) at org.swift.jira.cot.functions.AbstractCreateFunction.createIssue(AbstractCreateFunction.java:214) at org.swift.jira.cot.functions.AbstractCreateFunction.createIssues(AbstractCreateFunction.java:171) at org.swift.jira.cot.functions.AbstractCreateFunction.process(AbstractCreateFunction.java:146)

    JIRA | 12 months ago | Suresh
    com.atlassian.jira.exception.CreateException: Can't transition workflow instance #160106. Current state is 0, requested state is 1
  6. 0

    Hi Bob, We have been facing this in our production jira due to this jira going down very often. Atlassian suggested us to resolve the issue. Please provide the cause asap. com.atlassian.jira.exception.CreateException: Can't transition workflow instance #160106. Current state is 0, requested state is 1 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:692) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:615) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssueObject(DefaultIssueManager.java:705) at sun.reflect.GeneratedMethodAccessor3144.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at com.sun.proxy.$Proxy34.createIssueObject(Unknown Source) <+2> at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy34.createIssueObject(Unknown Source) at org.swift.jira.cot.functions.AbstractCreateFunction.createIssue(AbstractCreateFunction.java:214) at org.swift.jira.cot.functions.AbstractCreateFunction.createIssues(AbstractCreateFunction.java:171) at org.swift.jira.cot.functions.AbstractCreateFunction.process(AbstractCreateFunction.java:146)

    JIRA | 12 months ago | Suresh
    com.atlassian.jira.exception.CreateException: Can't transition workflow instance #160106. Current state is 0, requested state is 1

    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. com.atlassian.jira.exception.CreateException

      Can't transition workflow instance #18728. Current state is 4, requested state is 1

      at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue()
    2. com.atlassian.jira
      DefaultIssueManager.createIssueObject
      1. com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:588)
      2. com.atlassian.jira.issue.managers.DefaultIssueManager.createIssueObject(DefaultIssueManager.java:594)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor5023.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    4. com.atlassian.plugin
      ContextClassLoaderSettingInvocationHandler.invoke
      1. com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
      1 frame
    5. com.sun.proxy
      $Proxy450.createIssueObject
      1. com.sun.proxy.$Proxy450.createIssueObject(Unknown Source)
      1 frame