Error message that pops up a lot in my app dont know how to get rid of...

0
I get the error message stack below in console after I get the popup in app saying error occurred please contact administrator. Does anyone know what I have to do to get rid of it? Thanks. right-hand side of 'in' should be an object, got null m@http://localhost:8081/mxclientsystem/mxui/mxui.js?637589243151402670:5:102218 dojo/dom-construct/</e.empty@http://localhost:8081/mxclientsystem/mxui/mxui.js?637589243151402670:5:102339 advice@http://localhost:8081/mxclientsystem/mxui/mxui.js?637589243151402670:5:54868 a@http://localhost:8081/mxclientsystem/mxui/mxui.js?637589243151402670:5:54653 _setNodeContent@http://localhost:8081/mxclientsystem/dojo/html.js?637589243151402670:13:4 set@http://localhost:8081/mxclientsystem/dojo/html.js?637589243151402670:163:11 _ExecuteCount/<.callback<@http://localhost:8081/widgets/DataCounter/widget/DataCounter.js?637589243151402670:112:30 hitch/<@http://localhost:8081/mxclientsystem/mxui/mxui.js?637589243151402670:5:27215 j@http://localhost:8081/mxclientsystem/mxui/mxui.js?637589243151402670:5:211323 9720/t.Data/this.get/<@http://localhost:8081/mxclientsystem/mxui/mxui.js?637589243151402670:5:217375
asked
2 answers
0

This is due to a coding error at the client-side, an incorrectly handled unhappy flow. During happy flow the clientside widget will have previously found the object, and the ‘in’ is able to make the comparison. During unhappy flow, no object is found and the error is thrown. Probably a “for x in y” where y is null.

If this is not your code/widget that is throwing the error, your first job is to find out which widget is creating this error. The errormessage gives you little to no information on this. Start removing widgets from your project-directory /widgets (or just rename for easy getting them back).

Since there is a good chance that you might end up needing to update a widget: Menu ‘App’=>’Tools’=>’Update widgets’.

answered
0

Ok thanks I will start that process :) hopefully it will go well.

answered