HTTP 500 error on certain functions in Bitbucket Server when using unsupported JDK

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

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-bitbucket.log:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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 [/bitbucket/projects/ TEST/repos/test/branches] org.springframework.web.util.NestedServletException: Request processing failed; nested exception is com.google.template.soy.tofu.SoyTofuException: In template bitbucket.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.bitbucket.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 bitbucket.layout.aui: When evaluating "webResourceManager_includeResources()": Error while computing function "webResourceManager_includeResources()": null ... 193 common frames omitted

Cause

The cause is very likely that you are using an unsupported JDK to run Bitbucket Server with. Such errors were reported when using IBM JDK, but it can happen with any unsupported implementation or unsupported versions of supported Java implementations.

Resolution

Please refer to the supported platforms page for supported Java implementations.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.