AyaNova grids display
Receive error “Object reference not set to an instance of an object” when attempting to view records in a grid in AyaNova
And the grid is now displayed white with a big red X in it.
This error message occurs because 1) you are using an older version of AyaNova 7 and 2) one or more of the records in the grid being view has non-text characters in a text only field, and that field is displayed as a column in the grid you are viewing.
[li]You have the Summary column set to display in the Service Workorders grid.
[/li][li]In one or more workorders, the text in the Summary field has been copied from a formated document such as MS Word and includes non-text characters such as bullets and other formating not showing but is there.
[/li][li]When the grid attempts to “draw” the Summary field, it gives the error because it is not able to correctly draw the non-text characters.
If you encounter this error:
Upgrade to the latest version of AyaNova 7 - refer to the Known Issues & Updates section of this forum for the latest update steps.
If you encounter this error while viewing a grid and do not want to upgrade, do the following:
[li]Click on Ignore on the error message
[/li][li]The grid will still display white with a big red X
[/li][li]You will need to set the grid so that it is not displaying the workorder with the issue - such as reset the rows to display back to First 100 Rows, and no filter.
[/li][li]Exit out of AyaNova, and log back in. AyaNova will now open without the error
[/li][li]Now narrow down which record has the non-text characters, and edit the field to text only.