org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.applinks.applinks-oauth-plugin' has timed out waiting for (|(objectClass=com.atlassian.applinks.spi.auth.AuthenticationConfigurationManager)(objectClass=com.atlassian.applinks.spi.link.MutatingApplicationLinkService)(objectClass=com.atlassian.applinks.core.InternalTypeAccessor)(objectClass=com.atlassian.applinks.spi.manifest.ManifestRetriever))

atlassian.com | 4 months ago
  1. 0

    Bitbucket Server failed to Start due to Required plugin failed to start - Atlassian Documentation

    atlassian.com | 4 months ago
    org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.applinks.applinks-oauth-plugin' has timed out waiting for (|(objectClass=com.atlassian.applinks.spi.auth.AuthenticationConfigurationManager)(objectClass=com.atlassian.applinks.spi.link.MutatingApplicationLinkService)(objectClass=com.atlassian.applinks.core.InternalTypeAccessor)(objectClass=com.atlassian.applinks.spi.manifest.ManifestRetriever))
  2. 0

    h3. Summary Confluence will attempt to start plugin which have dependency on another plugin which has been disable. The confluence should disable the plugin which it has dependency on another plugin that has been disable h3. Step to reproduce: # Disable the following plugin #* Atlassian Hipchat Integration Plugin #* Atlassian Hipchat Integration Plugin Core # The following plugin which it has depency on the plugins above will be shown as disable in the manage add ons page #* Confluence Hipchat Emoticons Plugin #* Confluence Hipchat Integration Plugin # Restart Confluence h3. Expected result, all the plugin related The Confluence will not attempt to start the hipchat plugin h3. Observed Result The Confluence is still trying to start the hipchat plugin which suppose to be disabled. This will slowdown the startup as it will attempt to start the plugin before timeout. {code} 'com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin' never resolved service '&hipChatLinkProvider' with filter '(objectClass=com.atlassian.plugins.hipchat.api.link.HipChatLinkProvider)' 2016-01-13 10:08:25,552 ERROR [Spring DM Context Creation Timer] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin 'com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin' org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin' has timed out waiting for (objectClass=com.atlassian.plugins.hipchat.api.link.HipChatLinkProvider) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) 2016-01-13 10:08:25,603 ERROR [Spring DM Context Creation Timer] [extender.internal.support.ExtenderConfiguration] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin, config=osgibundle:/META-INF/spring/*.xml)) org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin' has timed out waiting for (objectClass=com.atlassian.plugins.hipchat.api.link.HipChatLinkProvider) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) 2016-01-13 10:08:25,606 ERROR [Spring DM Context Creation Timer] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] fail Unable to create application context for [com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.plugins.hipchat.api.link.HipChatLinkProvider)] (from bean [&hipChatLinkProvider]) org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin' has timed out waiting for (objectClass=com.atlassian.plugins.hipchat.api.link.HipChatLinkProvider) {code} h3. Workaround Disable all the hipchat plugin in the following order: # Confluence Hipchat Emoticons Plugin # Confluence Hipchat Integration Plugin # Atlassian Hipchat Integration Plugin # Atlassian Hipchat Integration Plugin Core Please note, you will need to disable the plugins in the following order else the plugin will be show as disable in the manage-add-ons however it is not save as disable in the database.

    Atlassian JIRA | 10 months ago | Jing Hwa [Atlassian]
    org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin' has timed out waiting for (objectClass=com.atlassian.plugins.hipchat.api.link.HipChatLinkProvider)
  3. 0

    h3. Summary Confluence will attempt to start plugin which have dependency on another plugin which has been disable. The confluence should disable the plugin which it has dependency on another plugin that has been disable h3. Step to reproduce: # Disable the following plugin #* Atlassian Hipchat Integration Plugin #* Atlassian Hipchat Integration Plugin Core # The following plugin which it has depency on the plugins above will be shown as disable in the manage add ons page #* Confluence Hipchat Emoticons Plugin #* Confluence Hipchat Integration Plugin # Restart Confluence h3. Expected result, all the plugin related The Confluence will not attempt to start the hipchat plugin h3. Observed Result The Confluence is still trying to start the hipchat plugin which suppose to be disabled. This will slowdown the startup as it will attempt to start the plugin before timeout. {code} 'com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin' never resolved service '&hipChatLinkProvider' with filter '(objectClass=com.atlassian.plugins.hipchat.api.link.HipChatLinkProvider)' 2016-01-13 10:08:25,552 ERROR [Spring DM Context Creation Timer] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin 'com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin' org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin' has timed out waiting for (objectClass=com.atlassian.plugins.hipchat.api.link.HipChatLinkProvider) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) 2016-01-13 10:08:25,603 ERROR [Spring DM Context Creation Timer] [extender.internal.support.ExtenderConfiguration] onOsgiApplicationEvent Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin, config=osgibundle:/META-INF/spring/*.xml)) org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin' has timed out waiting for (objectClass=com.atlassian.plugins.hipchat.api.link.HipChatLinkProvider) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) 2016-01-13 10:08:25,606 ERROR [Spring DM Context Creation Timer] [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] fail Unable to create application context for [com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.plugins.hipchat.api.link.HipChatLinkProvider)] (from bean [&hipChatLinkProvider]) org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin' has timed out waiting for (objectClass=com.atlassian.plugins.hipchat.api.link.HipChatLinkProvider) {code} h3. Workaround Disable all the hipchat plugin in the following order: # Confluence Hipchat Emoticons Plugin # Confluence Hipchat Integration Plugin # Atlassian Hipchat Integration Plugin # Atlassian Hipchat Integration Plugin Core Please note, you will need to disable the plugins in the following order else the plugin will be show as disable in the manage-add-ons however it is not save as disable in the database.

    Atlassian JIRA | 10 months ago | Jing Hwa [Atlassian]
    org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.confluence.plugins.confluence-hipchat-emoticons-plugin' has timed out waiting for (objectClass=com.atlassian.plugins.hipchat.api.link.HipChatLinkProvider)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. Problem Definition {{This tutorial was last tested with JIRA 6.0.7.}} as per official tutorial guide at [Tutorial - Creating a Project Template|https://developer.atlassian.com/jiradev/jira-platform/guides/projects/tutorial-creating-a-project-template]. With further testing on *JIRA Core 7.1.0* with sdk version 6.2.4, enabled add-on causing error on project creation. !error.png|thumbnail! In {{atlassian-jira.log}}, messages below can be seen. {noformat} 2016-03-17 22:32:15,269 Spring DM Context Creation Timer WARN [o.e.g.b.e.i.dependencies.startup.DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.plugins.tutorial.my-project-template-tests, config=osgibundle:/META-INF/spring/*.xml)] 2016-03-17 22:32:15,284 Spring DM Context Creation Timer ERROR [c.a.p.osgi.factory.OsgiPlugin] Plugin 'com.atlassian.plugins.tutorial.my-project-template-tests' never resolved service '&myComponent' with filter '(objectClass=com.atlassian.plugins.tutorial.api.MyPluginComponent)' 2016-03-17 22:32:15,313 Spring DM Context Creation Timer ERROR [c.a.p.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin 'com.atlassian.plugins.tutorial.my-project-template-tests' org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.plugins.tutorial.my-project-template-tests' has timed out waiting for (objectClass=com.atlassian.plugins.tutorial.api.MyPluginComponent) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) 2016-03-17 22:32:15,452 Spring DM Context Creation Timer ERROR [o.e.g.b.e.internal.support.ExtenderConfiguration] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.plugins.tutorial.my-project-template-tests, config=osgibundle:/META-INF/spring/*.xml)) org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.plugins.tutorial.my-project-template-tests' has timed out waiting for (objectClass=com.atlassian.plugins.tutorial.api.MyPluginComponent) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) 2016-03-17 22:32:15,470 Spring DM Context Creation Timer ERROR [o.e.g.b.e.i.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.atlassian.plugins.tutorial.my-project-template-tests], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.plugins.tutorial.api.MyPluginComponent)] (from bean [&myComponent]) org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.plugins.tutorial.my-project-template-tests' has timed out waiting for (objectClass=com.atlassian.plugins.tutorial.api.MyPluginComponent) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) 2016-03-17 22:32:15,487 UpmAsynchronousTaskManager:thread-1 ERROR admin 1346x345x2 11h3jao 0:0:0:0:0:0:0:1 /rest/plugins/1.0/installed-marketplace [c.a.plugin.manager.PluginEnabler] Unable to start the following plugins due to timeout while waiting for plugin to enable: com.atlassian.plugins.tutorial.my-project-template-tests 2016-03-17 22:35:33,058 http-nio-7100-exec-8 ERROR admin 1355x1744x1 11h3jao 0:0:0:0:0:0:0:1 /rest/project-templates/1.0/templates [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: com.atlassian.plugin.PluginException: Icon file for 'icon' does not exist at location: images/my-template-icon.png com.atlassian.util.concurrent.LazyReference$InitializationException: com.atlassian.plugin.PluginException: Icon file for 'icon' does not exist at location: images/my-template-icon.png at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149) at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:92) at com.atlassian.jira.project.template.descriptor.ProjectTemplateModuleDescriptor.getModule(ProjectTemplateModuleDescriptor.java:103) at com.atlassian.jira.project.template.ProjectTemplateManagerImpl.toProjectTemplate(ProjectTemplateManagerImpl.java:74) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at com.atlassian.jira.project.template.ProjectTemplateManagerImpl.getProjectTemplates(ProjectTemplateManagerImpl.java:43) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at com.sun.proxy.$Proxy290.getProjectTemplates(Unknown Source) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136) at com.sun.proxy.$Proxy290.getProjectTemplates(Unknown Source) at com.atlassian.jira.projecttemplates.service.ProjectTemplateServiceImpl.getProjectTemplatesGroupedByProjectType(ProjectTemplateServiceImpl.java:147) at com.atlassian.jira.projecttemplates.service.ProjectTemplateServiceImpl.getProjectTemplatesGroupedByType(ProjectTemplateServiceImpl.java:102) at com.atlassian.jira.projecttemplates.rest.ProjectTemplatesResource.getProjectTemplates(ProjectTemplatesResource.java:74) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) ... 18 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) ... 86 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 15 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) ... 74 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.plugin.PluginException: Icon file for 'icon' does not exist at location: images/my-template-icon.png at com.atlassian.jira.project.template.descriptor.ProjectTemplateModuleDescriptor.createIconFor(ProjectTemplateModuleDescriptor.java:177) at com.atlassian.jira.project.template.descriptor.ProjectTemplateModuleDescriptor.createModuleFromXml(ProjectTemplateModuleDescriptor.java:131) at com.atlassian.jira.project.template.descriptor.ProjectTemplateModuleDescriptor.access$100(ProjectTemplateModuleDescriptor.java:37) at com.atlassian.jira.project.template.descriptor.ProjectTemplateModuleDescriptor$1.create(ProjectTemplateModuleDescriptor.java:59) at com.atlassian.jira.project.template.descriptor.ProjectTemplateModuleDescriptor$1.create(ProjectTemplateModuleDescriptor.java:56) at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:325) at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143) ... 235 more {noformat} h3. Steps to reproduce: # follow the guide [here|https://developer.atlassian.com/jiradev/jira-platform/guides/projects/tutorial-creating-a-project-template] # upload the .jar file or .obr file to the application and make sure it's enabled h3. Expected result User is able to create a new project with my-project-template h3. Actual result User is getting an error to create project, no project templates are available at all h3. Workaround User needs to disable the add-on to be able to use the default project templates. h3. Suggested Solution Please update the documentation and make sure the code to be compatible with latest JIRA version.

    Atlassian JIRA | 9 months ago | Michelle Chin [Atlassian]
    org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.plugins.tutorial.my-project-template-tests' has timed out waiting for (objectClass=com.atlassian.plugins.tutorial.api.MyPluginComponent)
  6. 0

    h3. Problem Definition {{This tutorial was last tested with JIRA 6.0.7.}} as per official tutorial guide at [Tutorial - Creating a Project Template|https://developer.atlassian.com/jiradev/jira-platform/guides/projects/tutorial-creating-a-project-template]. With further testing on *JIRA Core 7.1.0* with sdk version 6.2.4, enabled add-on causing error on project creation. !error.png|thumbnail! In {{atlassian-jira.log}}, messages below can be seen. {noformat} 2016-03-17 22:32:15,269 Spring DM Context Creation Timer WARN [o.e.g.b.e.i.dependencies.startup.DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.plugins.tutorial.my-project-template-tests, config=osgibundle:/META-INF/spring/*.xml)] 2016-03-17 22:32:15,284 Spring DM Context Creation Timer ERROR [c.a.p.osgi.factory.OsgiPlugin] Plugin 'com.atlassian.plugins.tutorial.my-project-template-tests' never resolved service '&myComponent' with filter '(objectClass=com.atlassian.plugins.tutorial.api.MyPluginComponent)' 2016-03-17 22:32:15,313 Spring DM Context Creation Timer ERROR [c.a.p.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin 'com.atlassian.plugins.tutorial.my-project-template-tests' org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.plugins.tutorial.my-project-template-tests' has timed out waiting for (objectClass=com.atlassian.plugins.tutorial.api.MyPluginComponent) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) 2016-03-17 22:32:15,452 Spring DM Context Creation Timer ERROR [o.e.g.b.e.internal.support.ExtenderConfiguration] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.plugins.tutorial.my-project-template-tests, config=osgibundle:/META-INF/spring/*.xml)) org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.plugins.tutorial.my-project-template-tests' has timed out waiting for (objectClass=com.atlassian.plugins.tutorial.api.MyPluginComponent) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) 2016-03-17 22:32:15,470 Spring DM Context Creation Timer ERROR [o.e.g.b.e.i.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.atlassian.plugins.tutorial.my-project-template-tests], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.plugins.tutorial.api.MyPluginComponent)] (from bean [&myComponent]) org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.plugins.tutorial.my-project-template-tests' has timed out waiting for (objectClass=com.atlassian.plugins.tutorial.api.MyPluginComponent) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) 2016-03-17 22:32:15,487 UpmAsynchronousTaskManager:thread-1 ERROR admin 1346x345x2 11h3jao 0:0:0:0:0:0:0:1 /rest/plugins/1.0/installed-marketplace [c.a.plugin.manager.PluginEnabler] Unable to start the following plugins due to timeout while waiting for plugin to enable: com.atlassian.plugins.tutorial.my-project-template-tests 2016-03-17 22:35:33,058 http-nio-7100-exec-8 ERROR admin 1355x1744x1 11h3jao 0:0:0:0:0:0:0:1 /rest/project-templates/1.0/templates [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: com.atlassian.plugin.PluginException: Icon file for 'icon' does not exist at location: images/my-template-icon.png com.atlassian.util.concurrent.LazyReference$InitializationException: com.atlassian.plugin.PluginException: Icon file for 'icon' does not exist at location: images/my-template-icon.png at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149) at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:92) at com.atlassian.jira.project.template.descriptor.ProjectTemplateModuleDescriptor.getModule(ProjectTemplateModuleDescriptor.java:103) at com.atlassian.jira.project.template.ProjectTemplateManagerImpl.toProjectTemplate(ProjectTemplateManagerImpl.java:74) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at com.atlassian.jira.project.template.ProjectTemplateManagerImpl.getProjectTemplates(ProjectTemplateManagerImpl.java:43) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at com.sun.proxy.$Proxy290.getProjectTemplates(Unknown Source) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136) at com.sun.proxy.$Proxy290.getProjectTemplates(Unknown Source) at com.atlassian.jira.projecttemplates.service.ProjectTemplateServiceImpl.getProjectTemplatesGroupedByProjectType(ProjectTemplateServiceImpl.java:147) at com.atlassian.jira.projecttemplates.service.ProjectTemplateServiceImpl.getProjectTemplatesGroupedByType(ProjectTemplateServiceImpl.java:102) at com.atlassian.jira.projecttemplates.rest.ProjectTemplatesResource.getProjectTemplates(ProjectTemplatesResource.java:74) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) ... 18 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) ... 86 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 15 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) ... 74 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.plugin.PluginException: Icon file for 'icon' does not exist at location: images/my-template-icon.png at com.atlassian.jira.project.template.descriptor.ProjectTemplateModuleDescriptor.createIconFor(ProjectTemplateModuleDescriptor.java:177) at com.atlassian.jira.project.template.descriptor.ProjectTemplateModuleDescriptor.createModuleFromXml(ProjectTemplateModuleDescriptor.java:131) at com.atlassian.jira.project.template.descriptor.ProjectTemplateModuleDescriptor.access$100(ProjectTemplateModuleDescriptor.java:37) at com.atlassian.jira.project.template.descriptor.ProjectTemplateModuleDescriptor$1.create(ProjectTemplateModuleDescriptor.java:59) at com.atlassian.jira.project.template.descriptor.ProjectTemplateModuleDescriptor$1.create(ProjectTemplateModuleDescriptor.java:56) at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:325) at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143) ... 235 more {noformat} h3. Steps to reproduce: # follow the guide [here|https://developer.atlassian.com/jiradev/jira-platform/guides/projects/tutorial-creating-a-project-template] # upload the .jar file or .obr file to the application and make sure it's enabled h3. Expected result User is able to create a new project with my-project-template h3. Actual result User is getting an error to create project, no project templates are available at all h3. Workaround User needs to disable the add-on to be able to use the default project templates. h3. Suggested Solution Please update the documentation and make sure the code to be compatible with latest JIRA version.

    Atlassian JIRA | 9 months ago | Michelle Chin [Atlassian]
    org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.plugins.tutorial.my-project-template-tests' has timed out waiting for (objectClass=com.atlassian.plugins.tutorial.api.MyPluginComponent)

    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. org.springframework.context.ApplicationContextException

      Application context initialization for 'com.atlassian.applinks.applinks-oauth-plugin' has timed out waiting for (|(objectClass=com.atlassian.applinks.spi.auth.AuthenticationConfigurationManager)(objectClass=com.atlassian.applinks.spi.link.MutatingApplicationLinkService)(objectClass=com.atlassian.applinks.core.InternalTypeAccessor)(objectClass=com.atlassian.applinks.spi.manifest.ManifestRetriever))

      at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout()
    2. org.eclipse.gemini
      DependencyWaiterApplicationContextExecutor.access$000
      1. org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489)[na:na]
      2. org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54)[na:na]
      2 frames