Bootstrap fails when checking bundled plugins after an upgrade
Symptoms
Bamboo fails at the bootstrap stage when checking bundled plugins and following error shows up in the logs. Also, looking under Bamboo Administration (Overview) - > ADD-ONS (PLUGINS) tab, some options might be missing including: Application Navigator, Find new add-ons and Manage add-ons.
2014-08-26 17:10:43,918 ERROR [http-bio-8085-exec-6] [BambooFreemarkerManagerSoyHelpers] Error while rendering soy template: navlinks.templates.appswitcher.switcher
com.atlassian.soy.renderer.SoyException: Unable to compile Soy templates at: com.atlassian.plugins.atlassian-nav-links-plugin:rotp-menu
at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:124)
at com.atlassian.soy.impl.DefaultSoyTemplateRenderer.render(DefaultSoyTemplateRenderer.java:52)
....
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Required plugin module com.atlassian.plugins.atlassian-nav-links-plugin:rotp-menu was either missing or disabled
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234)
at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
....
at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:105)
... 155 more
Caused by: java.lang.IllegalStateException: Required plugin module com.atlassian.plugins.atlassian-nav-links-plugin:rotp-menu was either missing or disabled
at com.atlassian.soy.impl.WebResourceTemplateSetFactory$TemplateSetBuilder.addTemplatesForTree(WebResourceTemplateSetFactory.java:110)
at com.atlassian.soy.impl.WebResourceTemplateSetFactory$TemplateSetBuilder.access$200(WebResourceTemplateSetFactory.java:93)
....
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
... 173 more
Cause
This issue is caused by having an unsupported JDK, not compatible with the new Bamboo version after the upgrade.
Resolution
Refer to the Supported platforms page for your version of Bamboo to check if a compatible Java version is used and JAVA_HOME is configured to look into the JDK directory. If any changes need to be made, stop Bamboo completely, make the changes, remove "caches" and "bundled-plugins" folders from under <bamboo-home> directory and start Bamboo again.