com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: The affects versions field is empty!.

JIRA | Holger Naussed | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Hello, We are using WorkflowValidators to check, if customfields are used correctly. If a user forgets to set a mandatory field, a InvalidInputException is thrown and no issue is created. If a user tries to create a issue via mail this works too, but he doesnt get mail that the issue creation failed. Only the emailaccount set with the "forwardemail"-option in der service menue get a notification-mail. I found following exception inside my logfiles: {noformat} 2010-08-06 17:25:35,850 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Saving issue, ready for post-create actions 2010-08-06 17:25:35,882 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.EMHIssueHandler] Unhandled Exception processing issue (bug): Error occurred w hile creating issue through workflow: The affects versions field is empty!. 2010-08-06 17:25:35,882 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.EMHIssueHandler] Rethrowing exception: Unhandled Exception processing issue ( bug): Error occurred while creating issue through workflow: The affects versions field is empty!.; nested exception is: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: The affects versions field is empty!. javax.mail.MessagingException: Unhandled Exception processing issue (bug): Error occurred while creating issue through workflow: The affects versions field is empty!.; nested exception is: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: The affects versions field is empty!. at com.dolby.atlassian.jira.service.util.handler.EMHIssueHandler.runProcessor(EMHIssueHandler.java:414) at com.dolby.atlassian.jira.service.util.handler.EMHIssueHandler.handleMessage(EMHIssueHandler.java:121) at com.dolby.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:69) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:197) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2010-08-06 17:25:35,882 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.CreateOrCommentHandler] Unandled MessagingException: Unhandled Exception proc essing issue (bug): Error occurred while creating issue through workflow: The affects versions field is empty!.; nested exception is: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: The affects versions field is empty!. 2010-08-06 17:25:35,883 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.CreateOrCommentHandler] returning deleteMessage: false {noformat} Is there any workaround, so that the user gets a notfication mail, if the issue creation failed? Ciao Holger

    JIRA | 7 years ago | Holger Naussed
    com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: The affects versions field is empty!.
  2. 0

    Hello, We are using WorkflowValidators to check, if customfields are used correctly. If a user forgets to set a mandatory field, a InvalidInputException is thrown and no issue is created. If a user tries to create a issue via mail this works too, but he doesnt get mail that the issue creation failed. Only the emailaccount set with the "forwardemail"-option in der service menue get a notification-mail. I found following exception inside my logfiles: {noformat} 2010-08-06 17:25:35,850 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Saving issue, ready for post-create actions 2010-08-06 17:25:35,882 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.EMHIssueHandler] Unhandled Exception processing issue (bug): Error occurred w hile creating issue through workflow: The affects versions field is empty!. 2010-08-06 17:25:35,882 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.EMHIssueHandler] Rethrowing exception: Unhandled Exception processing issue ( bug): Error occurred while creating issue through workflow: The affects versions field is empty!.; nested exception is: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: The affects versions field is empty!. javax.mail.MessagingException: Unhandled Exception processing issue (bug): Error occurred while creating issue through workflow: The affects versions field is empty!.; nested exception is: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: The affects versions field is empty!. at com.dolby.atlassian.jira.service.util.handler.EMHIssueHandler.runProcessor(EMHIssueHandler.java:414) at com.dolby.atlassian.jira.service.util.handler.EMHIssueHandler.handleMessage(EMHIssueHandler.java:121) at com.dolby.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:69) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:197) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2010-08-06 17:25:35,882 JiraQuartzScheduler_Worker-2 ERROR [service.util.handler.CreateOrCommentHandler] Unandled MessagingException: Unhandled Exception proc essing issue (bug): Error occurred while creating issue through workflow: The affects versions field is empty!.; nested exception is: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: The affects versions field is empty!. 2010-08-06 17:25:35,883 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.CreateOrCommentHandler] returning deleteMessage: false {noformat} Is there any workaround, so that the user gets a notfication mail, if the issue creation failed? Ciao Holger

    JIRA | 7 years ago | Holger Naussed
    com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: The affects versions field is empty!.

    Root Cause Analysis

    1. com.atlassian.jira.exception.CreateException

      Error occurred while creating issue through workflow: The affects versions field is empty!.

      at com.dolby.atlassian.jira.service.util.handler.EMHIssueHandler.runProcessor()
    2. com.dolby.atlassian
      CreateOrCommentHandler.handleMessage
      1. com.dolby.atlassian.jira.service.util.handler.EMHIssueHandler.runProcessor(EMHIssueHandler.java:414)
      2. com.dolby.atlassian.jira.service.util.handler.EMHIssueHandler.handleMessage(EMHIssueHandler.java:121)
      3. com.dolby.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:69)
      3 frames
    3. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:197)
      2. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56)
      3. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61)
      3 frames
    4. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:191)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
      2 frames