Aftter upgrading to Confluence 7.1.0 and also upgrading from OpenJDK 8u222 to OpenJDK 11.0.5 breaks the search function in the global header.
In atlassian-confluence.logs you the following error:
referer: https://<site>/index.action | url: /s/33aa83ab70b5bf36af3cd5261c4724f7-CDN/-ht3on5/8301/8fa50d05398fea29bc3b44b63cde07d279fbe836/0ce6c3c70e661bc43c70c195b5dcf1b8/_/download/contextbatch/js/confluence-search-ui-plugin-main,-_super/batch.js | traceId: a576f9265864b739 | userName: <user>
java.lang.StackOverflowError
at java.base/java.util.regex.Pattern$Branch.match(Pattern.java:4749)
at java.base/java.util.regex.Pattern$GroupHead.match(Pattern.java:4804)
at java.base/java.util.regex.Pattern$Loop.match(Pattern.java:4941)
at java.base/java.util.regex.Pattern$GroupTail.match(Pattern.java:4863)
at java.base/java.util.regex.Pattern$BranchConn.match(Pattern.java:4713)
at java.base/java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3964)
these 6 lines repeat hundreds of times and I see
2019-11-11 20:22:06,674 ERROR [http-nio-8090-exec-8] [[Standalone].[localhost].[/].[noop]] log Servlet.service() for servlet [noop] in context with path [] threw exception [Servlet execution threw an exception] with root cause
java.lang.StackOverflowError
End in the end see more details
--------------------------
Attributes
--------------------------
javax.servlet.forward.request_uri: /s/33aa83ab70b5bf36af3cd5261c4724f7-CDN/-ht3on5/8301/8fa50d05398fea29bc3b44b63cde07d279fbe836/0ce6c3c70e661bc43c70c195b5dcf1b8/_/download/contextbatch/js/confluence-search-ui-plugin-main,-_super/batch.js
javax.servlet.forward.context_path:
javax.servlet.forward.servlet_path: /s
javax.servlet.forward.path_info: /33aa83ab70b5bf36af3cd5261c4724f7-CDN/-ht3on5/8301/8fa50d05398fea29bc3b44b63cde07d279fbe836/0ce6c3c70e661bc43c70c195b5dcf1b8/_/download/contextbatch/js/confluence-search-ui-plugin-main,-_super/batch.js
javax.servlet.forward.query_string: locale=en-US
javax.servlet.forward.mapping: org.apache.catalina.core.ApplicationMapping$MappingImpl@5b5891
javax.servlet.error.status_code: 500
_statichash: 33aa83ab70b5bf36af3cd5261c4724f7-CDN/-ht3on5/8301/8fa50d05398fea29bc3b44b63cde07d279fbe836/0ce6c3c70e661bc43c70c195b5dcf1b8
com.atlassian.confluence.impl.profiling.DecoratorTimings: com.atlassian.confluence.impl.profiling.DecoratorTimings@145e0dc
com.opensymphony.sitemesh.APPLIED_ONCE: true
__cleanup_recursion_counter: 0
javax.servlet.error.message:
javax.servlet.error.servlet_name: noop
com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true
atlassian.core.seraph.original.url: /500page.jsp?locale=en-US
com.atlassian.labs.botkiller.BotKillerFilter: true
com.atlassian.gzipfilter.GzipFilter_already_filtered: true
Confluence-Request-Time: 1573503726345
B3-TraceId: b6dd96b2ec979a
loginfilter.already.filtered: true
javax.servlet.error.request_uri: /s/33aa83ab70b5bf36af3cd5261c4724f7-CDN/-ht3on5/8301/8fa50d05398fea29bc3b44b63cde07d279fbe836/0ce6c3c70e661bc43c70c195b5dcf1b8/_/download/contextbatch/js/confluence-search-ui-plugin-main,-_super/batch.js
com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter: true
javax.servlet.error.exception: javax.servlet.ServletException: Servlet execution threw an exception
os_securityfilter_already_filtered: true
com.atlassian.seraph.auth.LoginReason: OK
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter: true
--------------------------
Parameters
--------------------------
locale : en-US
caused by: javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:238)
caused by: java.lang.StackOverflowError
at java.base/java.util.regex.Pattern$Branch.match(Pattern.java:4749)
Switching back to OpenJDK 8u222 let the search function again normally.
Other people also experiencing this issue?
Kind regards,
-Lex Onderwater
PS. Using a Starter license so cannot create a bug report any more.
Hello Lex,
Thank you for bringing this to us.
Currently, only the Oracle or AdoptOpenJDK versions of JAVA are supported. Have a look at Supported Platforms for more information.
Could you change to a supported JAVA version as above and let me know if you continue to have the issue?
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.