Launch implementation: RangeError: Maximum call stack size exceeded

Avatar

Avatar

sebastiane27965

Avatar

sebastiane27965

sebastiane27965

03-04-2020

Hi, have run into a problem with our launch implementation without being able to pinpoint the source of this error, maybe someone has any input here:

It starts of with this error: RangeError: Maximum call stack size exceeded

And then 10000 lines of this:

at u (VM35 launch-88-development.min.js:formatted:2902)
at d.x.fetchPermissions (VM35 launch-88-development.min.js:formatted:1403)
at Ne.m.init (VM35 launch-88-development.min.js:formatted:3781)


the particular lines of code it points to are:

return f.optIn.fetchPermissions(u, !0);

 

And:

 

return !i || i && x.isComplete || c ? e(x.permissions) : a || j.add(Ie, function() {
return e(x.permissions)

 

after going through this cycle once the error seems to go away, so i assume it is trying to do something on something that is not yet available to fetch the value of, any suggestion on what to try here? All help greatly appreciated 🙂

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

sebastiane27965

Avatar

sebastiane27965

sebastiane27965

08-04-2020

Hi, for anyone running into a similar error, this was actually caused by the fact that Adobe Target was running an old version of at.js (1.8.0), causing the analytics call to be disrupted by a slow Target request, an update of at.js to 2.3.0 solved this. 

Answers (1)

Answers (1)

Avatar

Avatar

Andrey_Osadchuk

MVP

Avatar

Andrey_Osadchuk

MVP

Andrey_Osadchuk
MVP

05-04-2020

I presume you added a custom JS code with a function that calls itself that makes an infinite loop. Review the code.