In App Health I have an error that is hard to track down and is causing the app to malfunction.
Maximum call stack size exceeded
name
“RangeError”
stack
“RangeError: Maximum call stack size exceeded\n at /usr/src/app/server/src-common/lib/modelUtils/modelInflator_v3/primitiveInflators/componentContainerInflator.js:46:25\n at Array.forEach ()\n at mergeValues (/usr/src/app/server/src-common/lib/modelUtils/modelInflator_v3/primitiveInflators/componentContainerInflator.js:42:28)\n at addStatsToView (/usr/src/app/server/src-common/lib/modelUtils/modelInflator_v3/primitiveInflators/componentContainerInflator.js:74:17)\n at componentContainerInflator (/usr/src/app/server/src-common/lib/modelUtils/modelInflator_v3/primitiveInflators/componentContainerInflator.js:119:5)\n at /usr/src/app/server/src-common/lib/modelUtils/modelInflator_v3/inflateAndAnalyzeSingleView.js:75:84\n at Array.reduce ()\n at inflateAndAnalyzeSingleView (/usr/src/app/server/src-common/lib/modelUtils/modelInflator_v3/inflateAndAnalyzeSingleView.js:59:67)\n at /usr/src/app/server/src-client-service/dist/src/controllers/AppController.js:788:57\n at Array.forEach ()”
If I simply duplicated ‘Stats - Row’ the error appears. Funny thing is if I remove the dupe the error is still there. If I remove the remaining ‘Stats - Row’, the error disappears. Very strange…
Component param Current is an integer, being sent into to component, calculated with a function containing function params.
Inside the Component, you have a Filter, e.g. My datasource.Maxnumber > Current
→ That fails, having Current on the right side of a filter inside the Component, when Current is a function with function parameters (that parsing fails “inception-style” as a JSON with function with a function as function value is generated client side when the filter is parsed).
Registering an issue on this one, but I guess you may workaround it somehow.