Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Small Change in App JS Code causes "Maximum call stack size exceeded" in random other apps

Jens Kisters //SeibertSolutions
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 11, 2019

Hello,

we have a jira instance with a bunch of third party plugins and a custom plugin we developed for the client.

It provides a custom field and that custom field contains some JS that adds some simple logic to a Jira transition screen.

In this context i am exeriencing a pretty strange problem:

I make a slight change in the JS code of our plugin. The change is very simple the JS code doesnt contain any loops, recursive calls or anything that would expect you to cause this kind of error.

As soon as the new plugin is installed Javascript errors start appearing after a few clicks in the issue transition screen:

JS Error.PNGThe strange thing is: the code lines reported here belong to 3rd party plugins (often Scriptrunner, theres a behaviour active in that context) and every time you reload the page the error is somewhere else, in a different plugin or even in the jquery that ships with jira.

The error also appears with old versions of the custom plugin that did work before.

But it disappears when the plugin is deactivated.

Any Idea what could be going on here?

This error is breaking the functionality of dynamic forms.

best regards

Jens

0 answers

Suggest an answer

Log in or Sign up to answer