com.atlassian.jira.exception.CreateException: com.atlassian.jira.workflow.WorkflowException

JIRA | Heidi Asbrand | 4 years ago
  1. 0

    Hello, We recently bought this plugin and created a workflow that creates 7 subtasks upon ticket creation. I linked that project to a mail handler and everything was working great (love the plugin). The mail handler would create the ticket and the subtasks were created. Over this last weekend we upgraded from Jira 5.2.4.1 to 5.2.8 (we also upgraded Greenhopper). Now unfortunately when trying to create the ticket via the mailhandler I get the following error in the atlassian-jira-incoming-mail.log: 2013-04-09 14:12:55,945 WARN [HRNotify] QuartzWorker-0 ServiceRunner HRNotify HRNotify[10760]: Unable to create issue with message. com.atlassian.jira.exception.CreateException: com.atlassian.jira.workflow.WorkflowException at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:451) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssueObject(DefaultIssueManager.java:517) at com.atlassian.jira.service.util.handler.DefaultMessageHandlerContext.createIssue(DefaultMessageHandlerContext.java:73) at com.atlassian.jira.service.services.mail.DelegatingMessageHandlerContext.createIssue(DelegatingMessageHandlerContext.java:47) at com.atlassian.jira.plugins.mail.handlers.CreateIssueHandler.handleMessage(CreateIssueHandler.java:242) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:368) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:271) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:356) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:252) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: com.atlassian.jira.workflow.WorkflowException at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:848) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:440) ... 13 more Caused by: java.lang.NullPointerException at org.swift.jira.cot.functions.AbstractCreateFunction.createIssue(AbstractCreateFunction.java:205) at org.swift.jira.cot.functions.CreateSubIssueFunction.conditionallyCreate(CreateSubIssueFunction.java:95) at org.swift.jira.cot.functions.AbstractCreateFunction.execute(AbstractCreateFunction.java:151) at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:807) I can manually create the issue just fine. In case it is helpful, I am not using the create issue post workflow function, only the create subtask post workflow function. It is a strange problem and I am having difficulty tracking down the root cause. I have simplified the subtasks, and the tickets being created are very simple. Can you help?

    JIRA | 4 years ago | Heidi Asbrand
    com.atlassian.jira.exception.CreateException: com.atlassian.jira.workflow.WorkflowException
  2. 0

    Hello, We recently bought this plugin and created a workflow that creates 7 subtasks upon ticket creation. I linked that project to a mail handler and everything was working great (love the plugin). The mail handler would create the ticket and the subtasks were created. Over this last weekend we upgraded from Jira 5.2.4.1 to 5.2.8 (we also upgraded Greenhopper). Now unfortunately when trying to create the ticket via the mailhandler I get the following error in the atlassian-jira-incoming-mail.log: 2013-04-09 14:12:55,945 WARN [HRNotify] QuartzWorker-0 ServiceRunner HRNotify HRNotify[10760]: Unable to create issue with message. com.atlassian.jira.exception.CreateException: com.atlassian.jira.workflow.WorkflowException at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:451) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssueObject(DefaultIssueManager.java:517) at com.atlassian.jira.service.util.handler.DefaultMessageHandlerContext.createIssue(DefaultMessageHandlerContext.java:73) at com.atlassian.jira.service.services.mail.DelegatingMessageHandlerContext.createIssue(DelegatingMessageHandlerContext.java:47) at com.atlassian.jira.plugins.mail.handlers.CreateIssueHandler.handleMessage(CreateIssueHandler.java:242) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:368) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:271) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:356) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:252) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: com.atlassian.jira.workflow.WorkflowException at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:848) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:440) ... 13 more Caused by: java.lang.NullPointerException at org.swift.jira.cot.functions.AbstractCreateFunction.createIssue(AbstractCreateFunction.java:205) at org.swift.jira.cot.functions.CreateSubIssueFunction.conditionallyCreate(CreateSubIssueFunction.java:95) at org.swift.jira.cot.functions.AbstractCreateFunction.execute(AbstractCreateFunction.java:151) at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:807) I can manually create the issue just fine. In case it is helpful, I am not using the create issue post workflow function, only the create subtask post workflow function. It is a strange problem and I am having difficulty tracking down the root cause. I have simplified the subtasks, and the tickets being created are very simple. Can you help?

    JIRA | 4 years ago | Heidi Asbrand
    com.atlassian.jira.exception.CreateException: com.atlassian.jira.workflow.WorkflowException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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. java.lang.NullPointerException

      No message provided

      at org.swift.jira.cot.functions.AbstractCreateFunction.createIssue()
    2. org.swift.jira
      AbstractCreateFunction.execute
      1. org.swift.jira.cot.functions.AbstractCreateFunction.createIssue(AbstractCreateFunction.java:205)
      2. org.swift.jira.cot.functions.CreateSubIssueFunction.conditionallyCreate(CreateSubIssueFunction.java:95)
      3. org.swift.jira.cot.functions.AbstractCreateFunction.execute(AbstractCreateFunction.java:151)
      3 frames
    3. com.opensymphony.workflow
      AbstractWorkflow.initialize
      1. com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050)
      2. com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446)
      3. com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615)
      3 frames
    4. com.atlassian.jira
      OSWorkflowManager.createIssue
      1. com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:807)
      1 frame