Troubleshooting the "Object reference not set to an instance of an object." error
Who is this article for?
Users encountering this error.
No special access or permissions are reqquired.
After upgrading from v5.x to v6 you might find that you get the error "Object reference not set to an instance of an object." when opening a saved view.
This article explains what causes the issue and how to resolve it.
1. Issue
Earlier versions of the application saved views in a format that may not be compatible with the current version. If you try to open one of these views on the Analysis screen, you will see the error: "Object reference not set to an instance of an object".
2. Solution
To resolve the issue, you need to create new views, which will cause them to save in the new format. You may want to refer back to the old views to find which columns were used.
If the old version is not available for this, an alternative is to:
- Click on the logo button.
- Click Export the views.
- Save the Vision.views file.
- Open this file in a text editor.
The file contains descriptions of each view, in an XML format:
- View Document contains the name of the view
- Setting Name called DataGrid_Cells contains a list of fields that are included in the view. Each field name is surrounded by Cell Name=" and ".
For example, the field Period is stored as Cell Name="Period".