GetConstraints Error

0
I am getting a getConstraints error when trying to save a forum. I have checked the Microflows and they are all trigger correctly, so I’m not sure what is causing the error.   Cannot read properties of null (reading 'getConstraints') TypeError: Cannot read properties of null (reading 'getConstraints')     at A.<computed>.E.storeState (http://localhost:8080/mxclientsystem/mxui/mxui.js?637731858206519739:5:428617)     at A.<computed>.E.<anonymous> (http://localhost:8080/mxclientsystem/mxui/mxui.js?637731858206519739:5:287926)     at ContentForm.<anonymous> (http://localhost:8080/mxclientsystem/mxui/mxui.js?637731858206519739:5:27217)     at ContentForm.a [as onPersistViewState] (http://localhost:8080/mxclientsystem/mxui/mxui.js?637731858206519739:5:54750)     at Object.<anonymous> (http://localhost:8080/mxclientsystem/mxui/mxui.js?637731858206519739:5:296968)     at Object.a [as onNavigation] (http://localhost:8080/mxclientsystem/mxui/mxui.js?637731858206519739:5:54750)     at d (http://localhost:8080/mxclientsystem/mxui/mxui.js?637731858206519739:5:306644)     at http://localhost:8080/mxclientsystem/mxui/mxui.js?637731858206519739:5:305900   How do I trace where the error is coming from?   THanks  
asked
1 answers
0

This error originates at the clientside, in the browser, which is where mxui.js lives. Therefor the error is certainly not caused by a microflow.

“Cannot read properties of null (reading 'getConstraints') “ is caused by a statement like somevariable.getconstraints where somevariable is null. So programmer error in mxui, so inform Mendix since they will need to solve. But you also need to be able to reproduce the error, so you will have to do some investigation to find the cause. To do so, commit your changes, then start removing any suspect element on your page. Start with anything that does front-end tricks. An html-widgets, any other widget. Just keep deleting stuff, run locally, see if it is gone, try again.

answered