I am facing an error in Nintex Forms. I have problems finding the cause as the form is pretty massive (formula, lookups, rules).
Error message in English (translated): "Unable to get property '_ObjectType_' of undefined or null reference"
Error message in German: "Die Eigenschaft "_ObjectType_" eines undefinierten oder Nullverweises kann nicht abgerufen werden.
I found a solution for a similar looking issue, but it seems not to be this issue as there is no "FormsPart.aspx" referenced in this case.
As the form is pretty massive I am not able to remove all columns and rules step by step to get the reason for this message. Is there a better way of debugging?
Version is 220.127.116.11 for SharePoint 2016 on premise
Nintex Forms Standard
SharePoint 2016 May 2018 patch level
After some investigation I found the issue in a formula control by deleting every control successively.
Formula causing the issue when control is empty:
I made this formula handle empty controls by changing it to:
Maybe this helps someone facing this issue and finding a formula control being the cause.
The question remains open for the question "How to debug Nintex Forms issues fast and easy?"
Are you aware of the following hotfix?
Just a quick follow-up on this:
yes would be really glad if there is an easy way, tbh I also had to go the longish way of checking each formula if anything is wrong, but I sometimes saves the effort by publishing the forms frequently so that I know its only the last iteration (or last published version) since the issue started coming ..