We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Uncaught RangeError: Maximum call stack size exceeded

Answered
Yegor asked on May 11, 2023

Hi All,
We need your help in identifying the causes of the error we are getting in our application with a certain data set and table configuration if we try to build any chart. Initially, more metrics were specified in the table settings, but we narrowed them down to two, in the presence of which the error appears. The remaining metrics, although they were almost identical to these two, did not cause problems. We also tried to reduce the table data set, but after that the error stopped reproducing.
Given the above, a possible conclusion could be that the problem may be in the data itself, but we cannot investigate this in more detail.
Also, just in case, the project uses the flexmonster version "2.9.17", updating to the latest version did not solve the problem.

I am attaching a link to a demo where you can reproduce the problem.
Reproduction steps - just try to build any type of chart, the indicated error will appear in the browser console.
https://jsfiddle.net/yng21fk7/2/
Do you have any idea what could be the cause of the error?
Thank you in advance.

5 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster May 12, 2023

Hello, Yegor!
 
Thank you for reporting the issue and for the provided JSFiddle sample.
 
We have managed to reproduce the described behavior on our side. Our Development team will take a closer look at the case and return to you with the fix on the ETA June 12.
 
We will notify you about the fix.
 
Feel free to contact us in case of any other questions.
 
Kind regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster June 13, 2023

Hello, Yegor!
 
Hope you are doing well.
 
We are glad to inform you that the issue with the Maximum call stack size exceeded error when switching to charts was fixed.
 
The fix is included in the 2.9.53 version of Flexmonster: https://www.flexmonster.com/release-notes/version-2-9-53/.
You are welcome to update the component: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
 
Please let us know if the fix works well for you.
 
Kind regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster June 20, 2023

Hello, Yegor!

Hope you are having a great week.

Our team is wondering if you had a chance to test the fix with the Maximum call stack size exceeded error when switching to charts. Could you please let us know if it works well for you?

Looking forward to hearing your feedback.

Kind regards,
Solomiia

Public
Yegor June 25, 2023

Hello,

I have tested on the demo as well as the project code with the new version of the library and the problem is no longer reproduced. Everything seems to be working as expected.

Thank you very much for your help.

Best regards,
Yegor

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster June 26, 2023

Hello, Yegor!

Thank you for your feedback.

We are glad to hear the fix works well for you.

Feel free to contact us in case of any other questions.

Kind regards,
Solomiia

Please login or Register to Submit Answer