Too Much Recursion Or Maximum Call Stack Size Exceeded Error In Browser Web Console
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
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.
*Fisheye および Crucible は除く
要約
Creating a page in Confluence that contains a macro code block throws errors in the Browser console window. The error changes depending on the used browser.
環境
- Confluence 7.3.3
- Chrome/Firefox
診断
The following error appears in the browser console when creating the page. The page freezes and the saving cannot proceed.
- In Firefox: Uncaught InternalError: too much recursion
- In Chrome: Uncaught RangeError: Maximum call stack size exceeded
原因
- This problem is caused by 3rd party content installed on Confluence.
- There is also a bug related to 3rd party add ons that can cause the same stack trace, as follows:
- CONFSERVER-56262 - Getting issue details... STATUS
ソリューション
- Enable the plugin safe mode in Confluence to confirm if the error message is fixed. If yes, you may need to enable the 3rd party plugins, one by one, and confirm which is the affected plugin.
- If running into the bug above, temporarily disable the Cache for Confluence and Refined Themes for Confluence apps to confirm if the functionality is restored.
Note that the safe mode can disrupt the Confluence instance if you use some 3rd party plugins such as 3rd party SSO and others. Always test first on a staging instance (Production clone) before doing the same step on Production for safety reasons.