java.lang.RuntimeException: javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Soy rendering failed for template '%s'.

Atlassian JIRA | ChengHongming | 10 months 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

    h3. Summary 500 error when view permission schemes. Problem caused by disabled {{com.atlassian.jira.plugin.system.soyfunction}} plugin. h3. Expected Results Works fine h3. Actual Results Page doesn't load, The below exception is thrown in the log file: {code:borderStyle=solid} ... Caused by: com.google.template.soy.base.SoySyntaxException: In file /opt/sd/atlassian-jira/includes/jira/admin/permissions/templates/ViewPermissionSchemes.soy:17, template JIRA.Templates.ViewPermissionSchemes.help: Unrecognized function 'getJiraHelpUrl' (encountered function call "getJiraHelpUrl('project.permissions')"). at com.google.template.soy.base.SoySyntaxException.createWithoutMetaInfo(SoySyntaxException.java:52) [?:?] at ... {code} Full exception: {code:borderStyle=solid} java.lang.RuntimeException: javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Soy rendering failed for template '%s'. java.lang.RuntimeException: javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Soy rendering failed for template '%s'. at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:27) [?:?] at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil$.outOfCustomerContext(CustomerContextUtil.scala:48) [?:?] at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil.outOfCustomerContext(CustomerContextUtil.scala) [?:?] ... Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Soy rendering failed for template '%s'. at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:904) [jasper.jar:8.0.17] at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:837) [jasper.jar:8.0.17] at jsp.secure.admin.views.permissions.viewschemes_jsp._jspService(viewschemes_jsp.java:377) [viewschemes_jsp.class:?] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.17] at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?] ... Caused by: com.atlassian.soy.renderer.SoyException: Unable to compile Soy templates at: jira.webresources:view-permission-schemes at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:135) [?:?] at com.atlassian.soy.impl.DefaultSoyTemplateRenderer.render(DefaultSoyTemplateRenderer.java:45) [?:?] at com.atlassian.soy.impl.DefaultSoyTemplateRenderer.render(DefaultSoyTemplateRenderer.java:39) [?:?] at com.atlassian.soy.impl.DefaultSoyTemplateRenderer.render(DefaultSoyTemplateRenderer.java:33) [?:?] at com.atlassian.jira.web.tags.SoyTemplateTag.doEndTag(SoyTemplateTag.java:99) [SoyTemplateTag.class:?] at jsp.secure.admin.views.permissions.viewschemes_jsp._jspx_meth_ww_005fsoy_005f0(viewschemes_jsp.java:565) [viewschemes_jsp.class:?] at jsp.secure.admin.views.permissions.viewschemes_jsp._jspService(viewschemes_jsp.java:194) [viewschemes_jsp.class:?] ... 365 more Caused by: com.google.template.soy.base.SoySyntaxException: In file /opt/sd/atlassian-jira/includes/jira/admin/permissions/templates/ViewPermissionSchemes.soy:17, template JIRA.Templates.ViewPermissionSchemes.help: Unrecognized function 'getJiraHelpUrl' (encountered function call "getJiraHelpUrl('project.permissions')"). at com.google.template.soy.base.SoySyntaxException.createWithoutMetaInfo(SoySyntaxException.java:52) [?:?] .... at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:118) [?:?] ... 371 more {code} h3. Notes This is note a bug. Problem caused by disabled {{com.atlassian.jira.plugin.system.soyfunction}} plugin. See more details: https://confluence.atlassian.com/jirakb/unrecognized-function-getjirahelpurl-836601589.html

    Atlassian JIRA | 10 months ago | ChengHongming
    java.lang.RuntimeException: javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Soy rendering failed for template '%s'.

    Root Cause Analysis

    1. java.lang.RuntimeException

      javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Soy rendering failed for template '%s'.

      at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply()
    2. com.atlassian.servicedesk
      CustomerContextUtil.outOfCustomerContext
      1. com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:27)[?:?]
      2. com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil$.outOfCustomerContext(CustomerContextUtil.scala:48)[?:?]
      3. com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil.outOfCustomerContext(CustomerContextUtil.scala)[?:?]
      3 frames