java.lang.reflect.UndeclaredThrowableException

Atlassian JIRA | Janek Bogucki | 1 decade ago
  1. 0

    The Scheduler Administration page shown that no trigger has executed since about 16/Aug/04 12:50 PM. The current date is 24/Aug/04. From previous experience I know that restarting tomcat will restart the scheduler however I don't want to do that. I want to know how the scheduler can be fixed so that it does not die after a while. The last automatic backup was this: 2004-Aug-16--1250.zip. These backups should be happening every 720 minutes. The mail queue just keeps growing. I don't want to restart tomcat as I believe this will lose the pending messages. This has been happening for a while, after each tomcat restart. It is only today that I noticed the scheduler was inactive. I suspect the dead scheduler is the cause of this. Can a jsp be supplied for me to use to restart the scheduler? I have marked this as critical as the email notifications are a critical part of our business. Currently this is not reliable. I have noted JRA-2671 "quartz scheduler can die" but since I'm running 2.6 Pro it may not be the same issue. Below I have posted the Scheduler Administration page details and the Services page details. Below that is an extract from catalina.out around the time of the last scheduled backup, i.e. the last time the scheduler executed a job. There are two classes of entry in this log extract. The first is an entry that occurs thousands of times in the day leading up the death of the scheduler and the second class of entry is toward the end. Search for this to find it 2004-08-16 12:50:09,873 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! java.lang.reflect.UndeclaredThrowableException ::The Scheduler Administration page details Scheduler Administration This page shows you the properties of the JIRA internal scheduler, as well as the scheduled jobs and their triggers. Quartz Scheduler named JiraQuartzScheduler with instance ID NON_CLUSTERED. The scheduler has been running since 02/Aug/04 09:31 AM and has executed 20395 jobs. The job store is class class com.atlassian.scheduler.OfBizJobStore which does support persistence. The thread pool is class class org.quartz.simpl.SimpleThreadPool which has 4 threads. Paused: FALSE Shutdown: FALSE Jobs Name Class Attributes GROUP: DEFAULT ServicesJob com.atlassian.jira.service.ServiceRunner Volatile: TRUE Durable: TRUE Stateful: FALSE GROUP: SEND_SUBSCRIPTION SEND_SUBSCRIPTION com.atlassian.jira.issue.subscription.SendFilterJob Volatile: FALSE Durable: TRUE Stateful: FALSE Triggers Name Job Next Fire Attributes GROUP: DEFAULT ServicesTrigger DEFAULT.ServicesJob 16/Aug/04 12:54 PM Volatile: TRUE GROUP: SEND_SUBSCRIPTION SUBSCRIPTION_10002 SEND_SUBSCRIPTION.SEND_SUBSCRIPTION 16/Aug/04 05:52 PM Volatile: FALSE SUBSCRIPTION_10004 SEND_SUBSCRIPTION.SEND_SUBSCRIPTION 17/Aug/04 05:08 AM Volatile: FALSE SUBSCRIPTION_10011 SEND_SUBSCRIPTION.SEND_SUBSCRIPTION 19/Aug/04 08:31 PM Volatile: FALSE SUBSCRIPTION_10005 SEND_SUBSCRIPTION.SEND_SUBSCRIPTION 17/Aug/04 03:48 AM Volatile: FALSE SUBSCRIPTION_10010 SEND_SUBSCRIPTION.SEND_SUBSCRIPTION 17/Aug/04 08:07 AM Volatile: FALSE SUBSCRIPTION_10003 SEND_SUBSCRIPTION.SEND_SUBSCRIPTION 17/Aug/04 05:06 AM Volatile: FALSE :: The Services page details Services Add a new service by entering a name and class below. You can then edit it to set properties. Name / Class Properties Delay (mins) Backup Service com.atlassian.jira.service.services.export.ExportService USEZIP: Zip DIR_NAME: /opt/jira/backup 720 Edit Del Mail Queue Service com.atlassian.jira.service.services.mail.MailQueueService 1 Edit VCS Update Service com.atlassian.jira.service.services.vcs.VcsService 15 Edit Create Issue Service for RMC com.atlassian.jira.service.services.pop.PopService handler: Create Issue Handler popserver: missingcourses@studylink.com handler.params: project=RMC,issuetype=3,reporterusername=samantha 1 Edit Del HELP project - Email Create Issue Service com.atlassian.jira.service.services.pop.PopService handler: Create Or Comment Handler popserver: jira.project.help@mail.studylink.com handler.params: project=HELP,issuetype=3,createusers=true 1 Edit Del Get help! 2004-08-16 12:48:09,951 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:48:09,958 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:49:09,910 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:49:09,917 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:49:09,924 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:49:09,932 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:50:09,851 ERROR [atlassian.jira.workflow.OSWorkflowManager] Error occured while creating issue. [InvalidInputException: [Error map: [{}]] [Error list: [[User 'lis' doesn't have the correct permissions]]] at com.atlassian.jira.workflow.validator.AbstractPermissionValidator.hasUserPermission(AbstractPermissionValidator.java:62) at com.atlassian.jira.workflow.validator.PermissionValidator.validate(PermissionValidator.java:48) at com.opensymphony.workflow.AbstractWorkflow.verifyInputs(AbstractWorkflow.java:916) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1098) at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:541) at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:74) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:162) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:130) at com.atlassian.jira.issue.managers.CachingIssueManager.createIssue(CachingIssueManager.java:68) at sun.reflect.GeneratedMethodAccessor468.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:68) at com.atlassian.jira.config.component.AppPropertiesComponentAdaptor$DelegatingInvocationHandler.invoke(AppPropertiesComponentAdaptor.java:61) at $Proxy0.createIssue(Unknown Source) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:126) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:50:09,873 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! java.lang.reflect.UndeclaredThrowableException at $Proxy0.createIssue(Unknown Source) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:126) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor468.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:68) at com.atlassian.jira.config.component.AppPropertiesComponentAdaptor$DelegatingInvocationHandler.invoke(AppPropertiesComponentAdaptor.java:61) ... 7 more Caused by: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow.: Error occured while creating issue.: User 'lis' doesn' t have the correct permissions at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:168) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:130) at com.atlassian.jira.issue.managers.CachingIssueManager.createIssue(CachingIssueManager.java:68) ... 12 more Caused by: com.atlassian.jira.workflow.WorkflowException: Error occured while creating issue.: User 'lis' doesn't have the correct permissions at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:85) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:162) ... 14 more Caused by: [InvalidInputException: [Error map: [{}]] [Error list: [[User 'lis' doesn't have the correct permissions]]] at com.atlassian.jira.workflow.validator.AbstractPermissionValidator.hasUserPermission(AbstractPermissionValidator.java:62) at com.atlassian.jira.workflow.validator.PermissionValidator.validate(PermissionValidator.java:48) at com.opensymphony.workflow.AbstractWorkflow.verifyInputs(AbstractWorkflow.java:916) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1098) at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:541) at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:74) ... 15 more 2004-08-16 12:51:09,898 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:51:09,922 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:51:09,929 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:51:09,936 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387)

    Atlassian JIRA | 1 decade ago | Janek Bogucki
    java.lang.reflect.UndeclaredThrowableException
  2. 0

    The Scheduler Administration page shown that no trigger has executed since about 16/Aug/04 12:50 PM. The current date is 24/Aug/04. From previous experience I know that restarting tomcat will restart the scheduler however I don't want to do that. I want to know how the scheduler can be fixed so that it does not die after a while. The last automatic backup was this: 2004-Aug-16--1250.zip. These backups should be happening every 720 minutes. The mail queue just keeps growing. I don't want to restart tomcat as I believe this will lose the pending messages. This has been happening for a while, after each tomcat restart. It is only today that I noticed the scheduler was inactive. I suspect the dead scheduler is the cause of this. Can a jsp be supplied for me to use to restart the scheduler? I have marked this as critical as the email notifications are a critical part of our business. Currently this is not reliable. I have noted JRA-2671 "quartz scheduler can die" but since I'm running 2.6 Pro it may not be the same issue. Below I have posted the Scheduler Administration page details and the Services page details. Below that is an extract from catalina.out around the time of the last scheduled backup, i.e. the last time the scheduler executed a job. There are two classes of entry in this log extract. The first is an entry that occurs thousands of times in the day leading up the death of the scheduler and the second class of entry is toward the end. Search for this to find it 2004-08-16 12:50:09,873 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! java.lang.reflect.UndeclaredThrowableException ::The Scheduler Administration page details Scheduler Administration This page shows you the properties of the JIRA internal scheduler, as well as the scheduled jobs and their triggers. Quartz Scheduler named JiraQuartzScheduler with instance ID NON_CLUSTERED. The scheduler has been running since 02/Aug/04 09:31 AM and has executed 20395 jobs. The job store is class class com.atlassian.scheduler.OfBizJobStore which does support persistence. The thread pool is class class org.quartz.simpl.SimpleThreadPool which has 4 threads. Paused: FALSE Shutdown: FALSE Jobs Name Class Attributes GROUP: DEFAULT ServicesJob com.atlassian.jira.service.ServiceRunner Volatile: TRUE Durable: TRUE Stateful: FALSE GROUP: SEND_SUBSCRIPTION SEND_SUBSCRIPTION com.atlassian.jira.issue.subscription.SendFilterJob Volatile: FALSE Durable: TRUE Stateful: FALSE Triggers Name Job Next Fire Attributes GROUP: DEFAULT ServicesTrigger DEFAULT.ServicesJob 16/Aug/04 12:54 PM Volatile: TRUE GROUP: SEND_SUBSCRIPTION SUBSCRIPTION_10002 SEND_SUBSCRIPTION.SEND_SUBSCRIPTION 16/Aug/04 05:52 PM Volatile: FALSE SUBSCRIPTION_10004 SEND_SUBSCRIPTION.SEND_SUBSCRIPTION 17/Aug/04 05:08 AM Volatile: FALSE SUBSCRIPTION_10011 SEND_SUBSCRIPTION.SEND_SUBSCRIPTION 19/Aug/04 08:31 PM Volatile: FALSE SUBSCRIPTION_10005 SEND_SUBSCRIPTION.SEND_SUBSCRIPTION 17/Aug/04 03:48 AM Volatile: FALSE SUBSCRIPTION_10010 SEND_SUBSCRIPTION.SEND_SUBSCRIPTION 17/Aug/04 08:07 AM Volatile: FALSE SUBSCRIPTION_10003 SEND_SUBSCRIPTION.SEND_SUBSCRIPTION 17/Aug/04 05:06 AM Volatile: FALSE :: The Services page details Services Add a new service by entering a name and class below. You can then edit it to set properties. Name / Class Properties Delay (mins) Backup Service com.atlassian.jira.service.services.export.ExportService USEZIP: Zip DIR_NAME: /opt/jira/backup 720 Edit Del Mail Queue Service com.atlassian.jira.service.services.mail.MailQueueService 1 Edit VCS Update Service com.atlassian.jira.service.services.vcs.VcsService 15 Edit Create Issue Service for RMC com.atlassian.jira.service.services.pop.PopService handler: Create Issue Handler popserver: missingcourses@studylink.com handler.params: project=RMC,issuetype=3,reporterusername=samantha 1 Edit Del HELP project - Email Create Issue Service com.atlassian.jira.service.services.pop.PopService handler: Create Or Comment Handler popserver: jira.project.help@mail.studylink.com handler.params: project=HELP,issuetype=3,createusers=true 1 Edit Del Get help! 2004-08-16 12:48:09,951 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:48:09,958 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:49:09,910 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:49:09,917 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:49:09,924 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:49:09,932 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:50:09,851 ERROR [atlassian.jira.workflow.OSWorkflowManager] Error occured while creating issue. [InvalidInputException: [Error map: [{}]] [Error list: [[User 'lis' doesn't have the correct permissions]]] at com.atlassian.jira.workflow.validator.AbstractPermissionValidator.hasUserPermission(AbstractPermissionValidator.java:62) at com.atlassian.jira.workflow.validator.PermissionValidator.validate(PermissionValidator.java:48) at com.opensymphony.workflow.AbstractWorkflow.verifyInputs(AbstractWorkflow.java:916) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1098) at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:541) at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:74) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:162) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:130) at com.atlassian.jira.issue.managers.CachingIssueManager.createIssue(CachingIssueManager.java:68) at sun.reflect.GeneratedMethodAccessor468.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:68) at com.atlassian.jira.config.component.AppPropertiesComponentAdaptor$DelegatingInvocationHandler.invoke(AppPropertiesComponentAdaptor.java:61) at $Proxy0.createIssue(Unknown Source) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:126) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:50:09,873 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! java.lang.reflect.UndeclaredThrowableException at $Proxy0.createIssue(Unknown Source) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:126) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor468.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:68) at com.atlassian.jira.config.component.AppPropertiesComponentAdaptor$DelegatingInvocationHandler.invoke(AppPropertiesComponentAdaptor.java:61) ... 7 more Caused by: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow.: Error occured while creating issue.: User 'lis' doesn' t have the correct permissions at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:168) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:130) at com.atlassian.jira.issue.managers.CachingIssueManager.createIssue(CachingIssueManager.java:68) ... 12 more Caused by: com.atlassian.jira.workflow.WorkflowException: Error occured while creating issue.: User 'lis' doesn't have the correct permissions at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:85) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:162) ... 14 more Caused by: [InvalidInputException: [Error map: [{}]] [Error list: [[User 'lis' doesn't have the correct permissions]]] at com.atlassian.jira.workflow.validator.AbstractPermissionValidator.hasUserPermission(AbstractPermissionValidator.java:62) at com.atlassian.jira.workflow.validator.PermissionValidator.validate(PermissionValidator.java:48) at com.opensymphony.workflow.AbstractWorkflow.verifyInputs(AbstractWorkflow.java:916) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1098) at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:541) at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:74) ... 15 more 2004-08-16 12:51:09,898 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:51:09,922 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:51:09,929 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-08-16 12:51:09,936 ERROR [service.util.handler.CreateIssueHandler] Could not create issue! com.atlassian.jira.project.DefaultAssigneeException: The default assignees do NOT have ASSIGNABLE permission OR Unassigned issues are turned off. at com.atlassian.jira.project.AbstractProjectManager.getDefaultAssignee(AbstractProjectManager.java:211) at com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:107) at com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387)

    Atlassian JIRA | 1 decade ago | Janek Bogucki
    java.lang.reflect.UndeclaredThrowableException
  3. 0

    h3. Summary JIRA Agile has a simplify workflow button, which puts the workflow into a special state that Agile expects it to be. Admins can modify the workflow through JIRA, which will put it into a state that means Agile can no longer use it. However, Agile can still offer to simplify the workflow. This can result in confusion and also generates errors when trying to simplify it. h3. Steps to Reproduce # Create a project. Eg: TEST # Create multiple issues in project TEST # Create a board for this project and then change the workflow to Simplified Workflow Scheme in Agile # Edit the workflow "Simplified Workflow Scheme" for project TEST. # Edit the Draft and publish it. Eg: add new statuses and transition then, it appear as if the project TEST is not using Simplified Workflow Scheme in Agile # Go to the board again. # Click on the Simplified Workflow. h3. Expected Results The workflow can be simplified, or it lists 'Agile Simplified Workflow unavailable'. h3. Actual Results It will hang and throw the following error: {noformat} 2015-06-26 03:55:52,035 http-bio-8080-exec-24922 ERROR jirasupport 235x11196994x1 1jkdqme 10.125.72.11,127.0.0.1 /rest/greenhopper/1.0/workflow/convert.json [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: The workflow is assigned to workflow schemes com.atlassian.jira.workflow.WorkflowException: The workflow is assigned to workflow schemes at com.atlassian.jira.workflow.OSWorkflowManager.deleteWorkflow(OSWorkflowManager.java:495) at sun.reflect.GeneratedMethodAccessor13492.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at com.sun.proxy.$Proxy385.deleteWorkflow(Unknown Source) <+2> (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy385.deleteWorkflow(Unknown Source) at com.atlassian.greenhopper.service.workflow.WorkflowServiceImpl.deleteWorkflow(WorkflowServiceImpl.java:312) at com.atlassian.greenhopper.service.workflow.SimplifiedWorkflowServiceImpl.deleteExistingNamedEntitiesIfNecessary(SimplifiedWorkflowServiceImpl.java:893) at com.atlassian.greenhopper.service.workflow.SimplifiedWorkflowServiceImpl.createSimplifiedWorkflowForExistingProject(SimplifiedWorkflowServiceImpl.java:547) at com.atlassian.greenhopper.web.rapid.view.WorkflowResource$5.call(WorkflowResource.java:330) at com.atlassian.greenhopper.web.rapid.view.WorkflowResource$5.call(WorkflowResource.java:312) at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:42) at com.atlassian.greenhopper.web.AbstractResource.createResponse(AbstractResource.java:100) at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:81) at com.atlassian.greenhopper.web.rapid.view.WorkflowResource.convertWorkflow(WorkflowResource.java:311) <+2> (DelegatingMethodAccessorImpl.java:43) {noformat} h3. Workaround There is no current tested workaround at this stage.

    Atlassian JIRA | 4 years ago | Clarissa Gauterio [Atlassian]
    com.atlassian.jira.workflow.WorkflowException: The workflow is assigned to workflow schemes
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    If an '&' is entered into a workflow transition description, JIRA breaks with an error: {noformat} com.atlassian.jira.workflow.WorkflowException: com.opensymphony.workflow.InvalidWorkflowDescriptorException: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference. com.atlassian.jira.workflow.WorkflowException: com.opensymphony.workflow.InvalidWorkflowDescriptorException: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference. at com.atlassian.jira.workflow.OSWorkflowManager.createWorkflow(OSWorkflowManager.java:264) at com.atlassian.jira.workflow.OSWorkflowManager.saveWorkflow(OSWorkflowManager.java:270) at com.atlassian.jira.workflow.ConfigurableJiraWorkflow.store(ConfigurableJiraWorkflow.java:69) at com.atlassian.jira.web.action.admin.workflow.AddWorkflowTransition.doExecute(AddWorkflowTransition.java:107) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:58) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:185) ... {noformat} (stacktrace from 3.6.2). However, the description is stored in the workflow, and isn't properly escaped (&amp;). This means that when the workflow XML is requested, it is invalid. Firefox and IE will complain if asked to render it: {noformat} XML Parsing Error: not well-formed Location: http://localhost:8080/secure/admin/workflows/ViewWorkflowXml.jspa?workflowName=Copy+of+jira Line Number 287, Column 46: <meta name="jira.description">foo & bar</meta> ---------------------------------------------^ {noformat}

    Atlassian JIRA | 1 decade ago | Keith Brophy
    com.atlassian.jira.workflow.WorkflowException: com.opensymphony.workflow.InvalidWorkflowDescriptorException: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.
  6. 0

    If an '&' is entered into a workflow transition description, JIRA breaks with an error: {noformat} com.atlassian.jira.workflow.WorkflowException: com.opensymphony.workflow.InvalidWorkflowDescriptorException: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference. com.atlassian.jira.workflow.WorkflowException: com.opensymphony.workflow.InvalidWorkflowDescriptorException: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference. at com.atlassian.jira.workflow.OSWorkflowManager.createWorkflow(OSWorkflowManager.java:264) at com.atlassian.jira.workflow.OSWorkflowManager.saveWorkflow(OSWorkflowManager.java:270) at com.atlassian.jira.workflow.ConfigurableJiraWorkflow.store(ConfigurableJiraWorkflow.java:69) at com.atlassian.jira.web.action.admin.workflow.AddWorkflowTransition.doExecute(AddWorkflowTransition.java:107) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:58) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:185) ... {noformat} (stacktrace from 3.6.2). However, the description is stored in the workflow, and isn't properly escaped (&amp;). This means that when the workflow XML is requested, it is invalid. Firefox and IE will complain if asked to render it: {noformat} XML Parsing Error: not well-formed Location: http://localhost:8080/secure/admin/workflows/ViewWorkflowXml.jspa?workflowName=Copy+of+jira Line Number 287, Column 46: <meta name="jira.description">foo & bar</meta> ---------------------------------------------^ {noformat}

    Atlassian JIRA | 1 decade ago | Keith Brophy
    com.atlassian.jira.workflow.WorkflowException: com.opensymphony.workflow.InvalidWorkflowDescriptorException: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.

    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.workflow.WorkflowException

      Error occured while creating issue.: User 'lis' doesn't have the correct permissions

      at com.atlassian.jira.workflow.OSWorkflowManager.createIssue()
    2. com.atlassian.jira
      CachingIssueManager.createIssue
      1. com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:85)
      2. com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:162)
      3. com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:130)
      4. com.atlassian.jira.issue.managers.CachingIssueManager.createIssue(CachingIssueManager.java:68)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor468.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    4. com.atlassian.util
      ObjectProfiler.profiledInvoke
      1. com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:68)
      1 frame
    5. com.atlassian.jira
      AppPropertiesComponentAdaptor$DelegatingInvocationHandler.invoke
      1. com.atlassian.jira.config.component.AppPropertiesComponentAdaptor$DelegatingInvocationHandler.invoke(AppPropertiesComponentAdaptor.java:61)
      1 frame
    6. Unknown
      $Proxy0.createIssue
      1. $Proxy0.createIssue(Unknown Source)
      1 frame
    7. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.util.handler.CreateIssueHandler.handleMessage(CreateIssueHandler.java:126)
      2. com.atlassian.jira.service.services.pop.PopService.run(PopService.java:110)
      3. com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:51)
      4. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50)
      4 frames
    8. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:147)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387)
      2 frames