How to solve *TypeError: Cannot read properties of null (reading getReferences)* this error

1
Hi, I am using normal cancel functionality button in my app page, In the UI section of the app whenever I am trying to click on to the cancel button I am getting error that i mentioned below. Also I tried to apply the cancel functionality using microflow call but still getting same error. Cannot read properties of null (reading 'getReferences') TypeError: Cannot read properties of null (reading 'getReferences')     at j.<computed>.E._buildTemplate (http://localhost:8080/widgets/widgets.js?638307201099273293:71289:55)     at j.<computed>.E._processData (http://localhost:8080/widgets/widgets.js?638307201099273293:71363:18)     at j.<computed>.E.<anonymous> (http://localhost:8080/widgets/widgets.js?638307201099273293:71320:38)     at http://localhost:8080/mxclientsystem/mxui/mxui.js?638307201099273293:5:27262     at o (http://localhost:8080/mxclientsystem/mxui/mxui.js?638307201099273293:5:191879)     at p.fetch (http://localhost:8080/mxclientsystem/mxui/mxui.js?638307201099273293:5:192166)     at j.<computed>.E.<anonymous> (http://localhost:8080/widgets/widgets.js?638307201099273293:71304:29)     at http://localhost:8080/mxclientsystem/mxui/mxui.js?638307201099273293:5:27262     at Object.forEach (http://localhost:8080/mxclientsystem/mxui/mxui.js?638307201099273293:5:31227)     at j.<computed>.E.<anonymous> (http://localhost:8080/widgets/widgets.js?638307201099273293:71303:27)
asked
2 answers
1

Sometimes, if there are cascading popup’s which uses same object, then when you cancel the object is not available any more to be used on the other page. Which returns these type of errors. 

 

Use conditions, like if the object is not empty, which will avoid these sort of issues on cascading popup’s.

answered
0

Probably the object which is tried to roll back, doesn't exist anymore. Did you have a editable fields before pressing cancel? Otherwise you ‘forgot’ to pass an object along to the page, and then cancelling changes is not possible.

answered