com.atlassian.soy.renderer.SoyException: Unable to compile Soy template in plugin module: com.atlassian.plugins.atlassian-nav-links-plugin:rotp-menu

Atlassian JIRA | Rian Josua Masikome [Atlassian] | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    *Problem Description* Upon starting up Bamboo with Tomcat latest version, the following error will be returned. {noformat} 2014-04-14 22:16:15,472 ERROR [http-bio-8080-exec-7] [BambooFreemarkerManagerSoyHelpers] Error while rendering soy template: navlinks.templates.appswitcher.switcher com.atlassian.soy.renderer.SoyException: Unable to compile Soy template in plugin module: com.atlassian.plugins.atlassian-nav-links-plugin:rotp-menu at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:119) at com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:40) at com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:33) ... 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.TemplateSetFactory$TemplateSetBuilder.addTemplatesForTree(TemplateSetFactory.java:94) at com.atlassian.soy.impl.TemplateSetFactory$TemplateSetBuilder.access$200(TemplateSetFactory.java:81) ... {noformat} This is not aligned with the [Supported Platform|https://confluence.atlassian.com/display/BAMBOO/Supported+platforms], that specified that it should be compatible with all Tomcat 7. *Steps to replicate* # Download Tomcat 7.0.53 # Point the webapp to Bamboo webapp {code} <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Context path="" docBase="../atlassian-bamboo" reloadable="false" useHttpOnly="true"> <!--<Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"--> <!--factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>--> <Manager pathname=""/> </Context> </Host> {code} # Startup Bamboo and you will get the error

    Atlassian JIRA | 3 years ago | Rian Josua Masikome [Atlassian]
    com.atlassian.soy.renderer.SoyException: Unable to compile Soy template in plugin module: com.atlassian.plugins.atlassian-nav-links-plugin:rotp-menu
  2. 0

    *Problem Description* Upon starting up Bamboo with Tomcat latest version, the following error will be returned. {noformat} 2014-04-14 22:16:15,472 ERROR [http-bio-8080-exec-7] [BambooFreemarkerManagerSoyHelpers] Error while rendering soy template: navlinks.templates.appswitcher.switcher com.atlassian.soy.renderer.SoyException: Unable to compile Soy template in plugin module: com.atlassian.plugins.atlassian-nav-links-plugin:rotp-menu at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:119) at com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:40) at com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:33) ... 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.TemplateSetFactory$TemplateSetBuilder.addTemplatesForTree(TemplateSetFactory.java:94) at com.atlassian.soy.impl.TemplateSetFactory$TemplateSetBuilder.access$200(TemplateSetFactory.java:81) ... {noformat} This is not aligned with the [Supported Platform|https://confluence.atlassian.com/display/BAMBOO/Supported+platforms], that specified that it should be compatible with all Tomcat 7. *Steps to replicate* # Download Tomcat 7.0.53 # Point the webapp to Bamboo webapp {code} <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Context path="" docBase="../atlassian-bamboo" reloadable="false" useHttpOnly="true"> <!--<Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"--> <!--factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>--> <Manager pathname=""/> </Context> </Host> {code} # Startup Bamboo and you will get the error

    Atlassian JIRA | 3 years ago | Rian Josua Masikome [Atlassian]
    com.atlassian.soy.renderer.SoyException: Unable to compile Soy template in plugin module: com.atlassian.plugins.atlassian-nav-links-plugin:rotp-menu

    Root Cause Analysis

    1. com.atlassian.soy.renderer.SoyException

      Unable to compile Soy template in plugin module: com.atlassian.plugins.atlassian-nav-links-plugin:rotp-menu

      at com.atlassian.soy.impl.DefaultSoyManager.render()
    2. com.atlassian.soy
      SoyTemplateRendererImpl.render
      1. com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:119)
      2. com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:40)
      3. com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:33)
      3 frames