Details
-
Bug
-
Resolution: Won't Fix
-
High
-
None
-
6.15.10
-
None
-
1
-
Severity 2 - Major
-
Description
Issue Summary
Hit the Confluence search box on the top left of the screen there is a spinning wheel and then nothing.
Checking the browser logs (F12 or Developer Tools -> Network tab), it's possible to see a HTTP 500 Error:
Steps to Reproduce
- Try to search
- It fails
Expected Results
The search works.
Actual Results
The below exception is thrown in the atlassian-confluence.log:
2020-07-17 16:37:45,210 ERROR [ajp-nio-127.0.0.1-8009-exec-208] [[Standalone].[localhost].[/].[file-server]] log Servlet.service() for servlet [file-server] threw exception -- referer: https://XXXXXXXX | url: /s/XXXXXXXX-CDN/XX/XXX/XXXXX/XXXXXXX/_/download/contextbatch/js/confluence-search-ui-plugin-main,-_super/batch.js | traceId: XXXXXX | userName: XXXXX java.lang.StackOverflowError at java.util.regex.Pattern$Branch.match(Pattern.java:4618) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4672) at java.util.regex.Pattern$Branch.match(Pattern.java:4618) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4672) at java.util.regex.Pattern$Loop.match(Pattern.java:4799) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4731) at java.util.regex.Pattern$BranchConn.match(Pattern.java:4582) at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3812) at java.util.regex.Pattern$Branch.match(Pattern.java:4618) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4672) at java.util.regex.Pattern$Loop.match(Pattern.java:4799) ........
The lines related to java.util.regex.Pattern go on forever for hundred of pages.
This is most likely caused by https://ecosystem.atlassian.net/browse/PLUGWEB-422
Workaround
Increase the Java parameter -Xss to a higher value.
This parameter is the responsible to address the recursive calls made on the Java code, exactly what is happening as shown in the Exception above, therefore increase it can solve the issue at some degree.
More details about this parameter can be found in this discussion:
Attachments
Issue Links
- relates to
-
CONFSERVER-42646 StackOverflowError in page editor if an add-on's web-resource has a dependency with <transformer key="jsI18n>
- Closed
-
PLUGWEB-422 Loading...
- mentioned in
-
Page Loading...