-
Bug
-
Resolution: Fixed
-
Low (View bug fix roadmap)
-
6.0.8
-
6
-
This causes the Project Template Plugin to fail to be enabled during startup, and due to that:
- you won't be able to choose a project template when creating a project;
- and the header menu does not show the drop-down options.
Steps to Reproduce:
- Disable the JIRA Workflow Sharing Plugin;
- Restart JIRA;
Expected Behavior:
The JIRA Workflow Sharing Plugin is disabled.
Actual Behavior:
Both the JIRA Workflow Sharing Plugin and the Project Templates Plugin are disabled (the latter fails to be enabled during the startup). The following is shown in the logs:
2013-09-09 12:18:59,810 Timer-4 WARN anonymous 737x32x1 1pkiai9 0:0:0:0:0:0:0:1%0 /secure/SetupImport.jspa [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.jira.plugins.project-templates-plugin, config=osgibundle:/META-INF/spring/*.xml)] 2013-09-09 12:18:59,813 Timer-4 ERROR anonymous 737x32x1 1pkiai9 0:0:0:0:0:0:0:1%0 /secure/SetupImport.jspa [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.atlassian.jira.plugins.project-templates-plugin], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.jira.plugins.workflow.sharing.importer.component.WorkflowImporterFactory)] (from bean [&ci-jira-workflow-sharing-importer-factory]), Dependency on [(objectClass=com.atlassian.jira.plugins.workflow.sharing.importer.component.WorkflowStatusHelper)] (from bean [&workflowStatusHelper]) org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.jira.plugins.project-templates-plugin' has timed out at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)
Suggested Resolution:
Fix the Project Templates Plugin so it can still function when the workflow importers plugin is not available. Alternatively, not allow users to disable the Workflow Sharing Plugin if project templates depends on it.
Workaround:
- Enable the Workflow Sharing Plugin;
- Restart JIRA.
- is cloned from
-
JDEV-24764 Failed to load
Im seeing this in 7.3.1