java.lang.RuntimeException: An error occurred while notifying that a project was created

Atlassian JIRA | Aleksandre Kheteshvili | 5 months ago
  1. 0

    Dear Jira, We encounters some problem while creating Service Desk project (below you can see attached screens – screen1, screen2, screen3). We’ve already checked existing issues (e.g. https://jira.atlassian.com/browse/JSD-3385 ) but as we understand we met new problem regarding this issues. Here is the part of the log file where the project is creating (In addition we’re attaching Jira’s Full log file see “atlassian-jira.rar” in attachments): 2016-06-27 19:11:04,108 http-nio-80-exec-24 WARN Spider 1151x20550x1 1fnack7 10.50.10.49 /rest/project-templates/1.0/templates [c.a.p.r.c.security.jersey.XsrfResourceFilter] Use of the 'nocheck' value for X-Atlassian-Token has been deprecated since rest 3.0.0. Please use a value of 'no-check' instead. 2016-06-27 19:11:04,108 http-nio-80-exec-24 WARN Spider 1151x20550x1 1fnack7 10.50.10.49 /rest/project-templates/1.0/templates [c.a.p.r.c.security.jersey.XsrfResourceFilter] Use of the 'nocheck' value for X-Atlassian-Token has been deprecated since rest 3.0.0. Please use a value of 'no-check' instead. 2016-06-27 19:11:05,889 http-nio-80-exec-24 INFO Spider 1151x20550x1 1fnack7 10.50.10.49 /rest/project-templates/1.0/templates [c.a.j.i.f.config.manager.FieldConfigSchemeManagerImpl] ConfigScheme JIRA Service Desk Issue Type Scheme for Project TEST3 (11404). Created with no associated contexts 2016-06-27 19:11:08,201 http-nio-80-exec-24 INFO Spider 1151x20550x1 1fnack7 10.50.10.49 /rest/project-templates/1.0/templates [c.a.jira.workflow.OSWorkflowManager] User 'Spider(spider)' updated workflow 'JIRA Service Desk IT Support Workflow generated for Project TEST3' at 'Mon Jun 27 19:11:08 GET 2016' 2016-06-27 19:11:08,373 http-nio-80-exec-24 INFO Spider 1151x20550x1 1fnack7 10.50.10.49 /rest/project-templates/1.0/templates [c.a.jira.workflow.OSWorkflowManager] User 'Spider(spider)' updated workflow 'JIRA Service Desk IT Support Workflow generated for Project TEST3' at 'Mon Jun 27 19:11:08 GET 2016' 2016-06-27 19:11:08,451 http-nio-80-exec-24 INFO Spider 1151x20550x1 1fnack7 10.50.10.49 /rest/project-templates/1.0/templates [c.a.jira.workflow.OSWorkflowManager] User 'Spider(spider)' updated workflow 'JIRA Service Desk IT Support Workflow generated for Project TEST3' at 'Mon Jun 27 19:11:08 GET 2016' 2016-06-27 19:11:08,623 http-nio-80-exec-24 INFO Spider 1151x20550x1 1fnack7 10.50.10.49 /rest/project-templates/1.0/templates [c.a.jira.workflow.OSWorkflowManager] User 'Spider(spider)' updated workflow 'JIRA Service Desk Problem Management Workflow generated for Project TEST3' at 'Mon Jun 27 19:11:08 GET 2016' 2016-06-27 19:11:08,842 http-nio-80-exec-24 INFO Spider 1151x20550x1 1fnack7 10.50.10.49 /rest/project-templates/1.0/templates [c.a.jira.workflow.OSWorkflowManager] User 'Spider(spider)' updated workflow 'JIRA Service Desk Problem Management Workflow generated for Project TEST3' at 'Mon Jun 27 19:11:08 GET 2016' 2016-06-27 19:11:08,920 http-nio-80-exec-24 INFO Spider 1151x20550x1 1fnack7 10.50.10.49 /rest/project-templates/1.0/templates [c.a.jira.workflow.OSWorkflowManager] User 'Spider(spider)' updated workflow 'JIRA Service Desk Problem Management Workflow generated for Project TEST3' at 'Mon Jun 27 19:11:08 GET 2016' 2016-06-27 19:11:09,108 http-nio-80-exec-24 INFO Spider 1151x20550x1 1fnack7 10.50.10.49 /rest/project-templates/1.0/templates [c.a.jira.workflow.OSWorkflowManager] User 'Spider(spider)' updated workflow 'JIRA Service Desk Change Management Workflow generated for Project TEST3' at 'Mon Jun 27 19:11:09 GET 2016' 2016-06-27 19:11:09,295 http-nio-80-exec-24 INFO Spider 1151x20550x1 1fnack7 10.50.10.49 /rest/project-templates/1.0/templates [c.a.jira.workflow.OSWorkflowManager] User 'Spider(spider)' updated workflow 'JIRA Service Desk Change Management Workflow generated for Project TEST3' at 'Mon Jun 27 19:11:09 GET 2016' 2016-06-27 19:11:09,451 http-nio-80-exec-24 INFO Spider 1151x20550x1 1fnack7 10.50.10.49 /rest/project-templates/1.0/templates [c.a.jira.workflow.OSWorkflowManager] User 'Spider(spider)' updated workflow 'JIRA Service Desk Change Management Workflow generated for Project TEST3' at 'Mon Jun 27 19:11:09 GET 2016' 2016-06-27 19:11:09,498 http-nio-80-exec-24 ERROR Spider 1151x20550x1 1fnack7 10.50.10.49 /rest/project-templates/1.0/templates [c.a.jira.project.ProjectCreateRegistrarImpl] The handler with id com.atlassian.jira.project-templates-plugin:apply-project-template-handler threw an exception while handling a notification about a project being created java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.putVal(Unknown Source) at java.util.concurrent.ConcurrentHashMap.putIfAbsent(Unknown Source) at com.atlassian.cache.memory.DelegatingCache.acquireLockFor(DelegatingCache.java:444) at com.atlassian.cache.memory.DelegatingCache.remove(DelegatingCache.java:234) at com.atlassian.jira.bc.project.component.CachingProjectComponentStore.insert(CachingProjectComponentStore.java:309) at com.atlassian.jira.bc.project.component.CachingProjectComponentStore.store(CachingProjectComponentStore.java:215) at com.atlassian.jira.bc.project.component.DefaultProjectComponentManager.create(DefaultProjectComponentManager.java:111) at com.atlassian.jira.bc.project.component.DefaultProjectComponentService$2.executeOnSuccess(DefaultProjectComponentService.java:156) at com.atlassian.jira.bc.project.component.DefaultProjectComponentService$Handler.run(DefaultProjectComponentService.java:648) at com.atlassian.jira.bc.project.component.DefaultProjectComponentService.create(DefaultProjectComponentService.java:162) ... 3 filtered at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at com.sun.proxy.$Proxy513.create(Unknown Source) ... 3 filtered at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy2756.create(Unknown Source) at com.atlassian.servicedesk.internal.feature.jira.project.ProjectComponentCreationService$$anonfun$createComponentsForProject$1.apply(ProjectComponentCreationService.scala:26) at com.atlassian.servicedesk.internal.feature.jira.project.ProjectComponentCreationService$$anonfun$createComponentsForProject$1.apply(ProjectComponentCreationService.scala:24) at scala.collection.immutable.List.map(List.scala:273) at com.atlassian.servicedesk.internal.feature.jira.project.ProjectComponentCreationService.createComponentsForProject(ProjectComponentCreationService.scala:24) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1$$anonfun$apply$3$$anonfun$apply$5$$anonfun$apply$6.apply(GettingStartedService.scala:172) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1$$anonfun$apply$3$$anonfun$apply$5$$anonfun$apply$6.apply(GettingStartedService.scala:169) at scalaz.$bslash$div.flatMap(Either.scala:134) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1$$anonfun$apply$3$$anonfun$apply$5.apply(GettingStartedService.scala:169) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1$$anonfun$apply$3$$anonfun$apply$5.apply(GettingStartedService.scala:165) at scalaz.$bslash$div.flatMap(Either.scala:134) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1$$anonfun$apply$3.apply(GettingStartedService.scala:165) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1$$anonfun$apply$3.apply(GettingStartedService.scala:160) at scalaz.$bslash$div.flatMap(Either.scala:134) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1.apply(GettingStartedService.scala:160) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1.apply(GettingStartedService.scala:157) at scalaz.$bslash$div.flatMap(Either.scala:134) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService.createServiceDeskForEmptyProject(GettingStartedService.scala:157) at com.atlassian.servicedesk.internal.project.ServiceDeskProjectConfigurator.callGettingStartedServiceToCreateServiceDesk(ServiceDeskProjectConfigurator.java:98) at com.atlassian.servicedesk.internal.project.ServiceDeskProjectConfigurator.lambda$configure$0(ServiceDeskProjectConfigurator.java:83) at com.atlassian.fugue.Either$RightProjection.flatMap(Either.java:839) at com.atlassian.fugue.Either.flatMap(Either.java:294) at com.atlassian.pocketknife.EitherStep1.then(EitherStep1.java:21) at com.atlassian.servicedesk.internal.project.ServiceDeskProjectConfigurator.configure(ServiceDeskProjectConfigurator.java:82) at com.atlassian.servicedesk.internal.project.template.hook.ItilServiceDeskAddProjectHook.configure(ItilServiceDeskAddProjectHook.java:16) at com.atlassian.jira.projecttemplates.service.ApplyProjectTemplateHandler.applyProjectTemplate(ApplyProjectTemplateHandler.java:65) at com.atlassian.jira.projecttemplates.service.ApplyProjectTemplateHandler.onProjectCreated(ApplyProjectTemplateHandler.java:53) at com.atlassian.jira.project.ProjectCreateRegistrarImpl.notifyAllHandlers(ProjectCreateRegistrarImpl.java:36) at com.atlassian.jira.bc.project.DefaultProjectService.notifyHandlersOfProjectCreated(DefaultProjectService.java:393) at com.atlassian.jira.bc.project.DefaultProjectService.createProjectInternal(DefaultProjectService.java:378) at com.atlassian.jira.bc.project.DefaultProjectService.createProject(DefaultProjectService.java:348) ... 3 filtered at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at com.sun.proxy.$Proxy43.createProject(Unknown Source) ... 3 filtered at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136) at com.sun.proxy.$Proxy43.createProject(Unknown Source) at com.atlassian.jira.projecttemplates.service.ProjectTemplateServiceImpl.applyProjectTemplate(ProjectTemplateServiceImpl.java:173) at com.atlassian.jira.projecttemplates.rest.ProjectTemplatesResource.createProjectFromFormRequest(ProjectTemplatesResource.java:170) ... 3 filtered at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ... 12 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68) ... 91 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 16 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) ... 22 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) ... 54 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) 2016-06-27 19:11:11,827 http-nio-80-exec-24 ERROR Spider 1151x20550x1 1fnack7 10.50.10.49 /rest/project-templates/1.0/templates [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: An error occurred while notifying that a project was created java.lang.RuntimeException: An error occurred while notifying that a project was created at com.atlassian.jira.bc.project.DefaultProjectService.notifyHandlersOfProjectCreated(DefaultProjectService.java:396) at com.atlassian.jira.bc.project.DefaultProjectService.createProjectInternal(DefaultProjectService.java:378) at com.atlassian.jira.bc.project.DefaultProjectService.createProject(DefaultProjectService.java:348) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ... 1 filtered at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at com.sun.proxy.$Proxy43.createProject(Unknown Source) ... 3 filtered at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136) at com.sun.proxy.$Proxy43.createProject(Unknown Source) at com.atlassian.jira.projecttemplates.service.ProjectTemplateServiceImpl.applyProjectTemplate(ProjectTemplateServiceImpl.java:173) at com.atlassian.jira.projecttemplates.rest.ProjectTemplatesResource.createProjectFromFormRequest(ProjectTemplatesResource.java:170) ... 3 filtered at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ... 12 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68) ... 91 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 16 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) ... 22 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) ... 54 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) Best Regards, Alex

    Atlassian JIRA | 5 months ago | Aleksandre Kheteshvili
    java.lang.RuntimeException: An error occurred while notifying that a project was created
  2. 0

    h3. Summary When creating a Service Desk project using a shared configuration, the creation dialogue will display as error as shown in the attached screenshot. This issue does not appear to surface in a newly setup environment. It has so far only surfaced in existing environments h3. Steps to Reproduce # Create a new Service Desk "Service Desk A" # Create another Service Desk using the "Create with shared configuration" option in the bottom of the dialogue # Name the Service Desk "Service Desk B" h3. Expected Results The Service Desk B gets created with the shared configuration h3. Actual Results The error in the attached screenshot will get displayed. The Service Desk B will not get created. The below exception is thrown in the atlassian-jira.log file: {noformat} 2016-07-05 08:10:16,843 http-nio-8080-exec-3 ERROR <user> 490x247x1 1vd928d 0:0:0:0:0:0:0:1 /rest/project-templates/1.0/createshared/11102 [c.a.jira.project.ProjectCreateRegistrarImpl] The handler with id servicedesk-project-create-handler threw an exception while handling a notification about a project being created java.util.NoSuchElementException: None.get at scala.None$.get(Option.scala:347) at scala.None$.get(Option.scala:345) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedReportCreationService.createDefaultReports(GettingStartedReportCreationService.scala:43) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createOrReEnableServiceDeskForExistingProject$2.apply(GettingStartedService.scala:316) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createOrReEnableServiceDeskForExistingProject$2.apply(GettingStartedService.scala:275) at scalaz.$bslash$div.map(Either.scala:111) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService.createOrReEnableServiceDeskForExistingProject(GettingStartedService.scala:275) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService.createServiceDeskWithSharedConfig(GettingStartedService.scala:327) at com.atlassian.servicedesk.internal.project.type.ServiceDeskProjectHelper.createServiceDeskForSharedConfigProject(ServiceDeskProjectHelper.java:49) at com.atlassian.servicedesk.internal.project.type.ServiceDeskProjectCreateHandler.onProjectCreated(ServiceDeskProjectCreateHandler.java:33) at com.atlassian.jira.project.ProjectCreateRegistrarImpl.notifyAllHandlers(ProjectCreateRegistrarImpl.java:36) at com.atlassian.jira.bc.project.DefaultProjectService.notifyHandlersOfProjectCreated(DefaultProjectService.java:393) at com.atlassian.jira.bc.project.DefaultProjectService.createProjectInternal(DefaultProjectService.java:378) at com.atlassian.jira.bc.project.DefaultProjectService.createProject(DefaultProjectService.java:348) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:498) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at com.sun.proxy.$Proxy183.createProject(Unknown Source) ... 3 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.$Proxy183.createProject(Unknown Source) at com.atlassian.jira.projecttemplates.rest.CreateSharedProjectResource.createSharedProject(CreateSharedProjectResource.java:76) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:498) ... 19 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68) ... 91 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 16 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) ... 22 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) ... 54 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) 2016-07-05 08:10:17,143 http-nio-8080-exec-3 ERROR <user> 490x247x1 1vd928d 0:0:0:0:0:0:0:1 /rest/project-templates/1.0/createshared/11102 [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: An error occurred while notifying that a project was created java.lang.RuntimeException: An error occurred while notifying that a project was created at com.atlassian.jira.bc.project.DefaultProjectService.notifyHandlersOfProjectCreated(DefaultProjectService.java:396) at com.atlassian.jira.bc.project.DefaultProjectService.createProjectInternal(DefaultProjectService.java:378) at com.atlassian.jira.bc.project.DefaultProjectService.createProject(DefaultProjectService.java:348) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ... 1 filtered at java.lang.reflect.Method.invoke(Method.java:498) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at com.sun.proxy.$Proxy183.createProject(Unknown Source) ... 3 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.$Proxy183.createProject(Unknown Source) at com.atlassian.jira.projecttemplates.rest.CreateSharedProjectResource.createSharedProject(CreateSharedProjectResource.java:76) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:498) ... 19 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68) ... 91 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 16 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) ... 22 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) ... 54 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) {noformat} h3.Workaround There currently is no workaround to create a Service Desk project with a shared configuration if your environment is impacted by this error. The only option is to create a clean Service Desk and manually add the configurations to match

    Atlassian JIRA | 5 months ago | Mick Nassette [Atlassian]
    java.lang.RuntimeException: An error occurred while notifying that a project was created
  3. 0

    What is the cause of this NetworkOnMainThreadException

    Stack Overflow | 6 months ago | Knossos
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    后台换了后,安卓客户端总是出现以下错误,请帮忙看下!-腾讯云官方论坛

    qcloud.com | 2 months ago
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  6. 0

    Discussion on Stream Radio 2 (Single Station) | CodeCanyon

    codecanyon.net | 3 months ago
    java.lang.RuntimeException: An error occurred while executing doInBackground()

    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.RuntimeException

      An error occurred while notifying that a project was created

      at com.atlassian.jira.bc.project.DefaultProjectService.notifyHandlersOfProjectCreated()
    2. com.atlassian.jira
      DefaultProjectService.createProject
      1. com.atlassian.jira.bc.project.DefaultProjectService.notifyHandlersOfProjectCreated(DefaultProjectService.java:396)
      2. com.atlassian.jira.bc.project.DefaultProjectService.createProjectInternal(DefaultProjectService.java:378)
      3. com.atlassian.jira.bc.project.DefaultProjectService.createProject(DefaultProjectService.java:348)
      3 frames
    3. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      2 frames