HTTP 500 error on certain functions in Stash when using unsupported JDK
症状
When using certain features (for example branches menu of a repository), an Error 500 page is displayed.
At the same time, the following appears in the atlassian-stash.log
:
2013-01-01 01:01:01,111 ERROR [http-bio-9081-exec-12] 551x797x1 1yir6sf 53.48.15.29,53.54.236.236 "GET /mvc/error500 HTTP/1.1" c.a.s.i.web.ErrorPageController There was an unhandled exception loading [/stash/projects/
TEST/repos/test/branches]
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is com.google.template.soy.tofu.SoyTofuException: In template stash.layout.aui: When evaluating "webResourceManager_incl
udeResources()": Error while computing function "webResourceManager_includeResources()": null
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:948) ~[spring-webmvc-3.2.4.RELEASE.jar:3.2.4.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827) ~[spring-webmvc-3.2.4.RELEASE.jar:3.2.4.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) ~[servlet-api.jar:na]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812) ~[spring-webmvc-3.2.4.RELEASE.jar:3.2.4.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) ~[servlet-api.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) ~[catalina.jar:7.0.40]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) ~[catalina.jar:7.0.40]
at com.atlassian.stash.internal.web.filters.StandardResponseHeadersFilter.doFilterInternal(StandardResponseHeadersFilter.java:61) ~[StandardResponseHeadersFilter.class:na]
...
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121) [na:1.7.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) [na:1.7.0]
at java.lang.Thread.run(Thread.java:780) [na:1.7.0]
Caused by: com.google.template.soy.tofu.SoyTofuException: In template stash.layout.aui: When evaluating "webResourceManager_includeResources()": Error while computing function "webResourceManager_includeResources()": null
... 193 common frames omitted
原因
The cause is very likely that you are using an unsupported JDK to run Stash with. Such errors were reported when using IBM JDK, but it can happen with any unsupported implementation or unsupported versions of supported Java implementations.
ソリューション
Please refer to the supported platforms page for supported Java implementations.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.