RangeError: Maximum call stack size exceeded

Posted 陈蒙_

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了RangeError: Maximum call stack size exceeded相关的知识,希望对你有一定的参考价值。

问题现场

【执行环境】
安卓设备,V8 引擎,Java 代码中调用 javascript

【报错日志】

2021-10-21 14:52:53.156 30457-30457/com.fuck.you E/com.fuck.you.JavaInvoker$1::MyJSExecutor: RangeError: Maximum call stack size exceeded (evaluating ’ .replace(myRegexPattern," ")’) (line 12 in the generated bundle)
/StackTrace/
String.replace@
renamedFunc3@unknown:12:9
renamedFunc2@unknown:35:26
renamedFunc1@unknown:94:215
global code@unknown:95:340global code@unknown:95:614
/StackTrace/,
function renamedFunc3(text) {
var context ={
text:decodeURIComponent(text),
myRegexPattern:/(([ds])|([dg])|([sdfasd])|([asdf])|([sdf])|([;;])|([kkk])|([sdf])|([sdf])|([xcxcv])|([sdf])|([uio])|([ouio])|([asdf])|([as])|([xxxz])|([sdf])|([dsfsd])|([wer])|([werw])|([11])|([r

以上是关于RangeError: Maximum call stack size exceeded的主要内容,如果未能解决你的问题,请参考以下文章

RangeError: Maximum call stack size exceeded

RangeError: Maximum call stack size exceeded

RangeError: Maximum call stack size exceeded

router-link RangeError: Maximum call stack size exceeded

踩坑 Uncaught RangeError: Maximum call stack size exceeded

Uncaught RangeError: Maximum call stack size exceeded 调试日记