Error "Could not read class" shown when opening a diagram in Vista
An Operation Incomplete window is displayed with the following error, "Could not read class - Invalid object" when opening a diagram in Power Monitoring Expert's Vista.
Power Monitoring Expert 8.x
This error occurs because a Vista diagram contains an object whose dependent module has been deleted.
The following steps will allow you to locate the object causing the Invalid object error:
- Operation Incomplete window, locate the hexadecimal number next to Invalid object. This is the ION handle of the quantity for which the Vista object is looking. Convert this hexadecimal number to decimal.
In this example, the ION handle is 0x600101 which corresponds to 6291713 decimal.
- Using a word editing software such as Notepad++, search all of the files in ...\Schneider Electric\Power Monitoring Expert\config\diagrams\ud for the decimal value. If the reference is found, Notepad++ will return the file where the decimal value was found. The object will be referenced as follows:
If further information is required to locate the object, the caption and general location are also provided.
<Caption display_method="South Main" caption_position="8">
<Location left="584" top="367" bottom="397" right="704">
If the reference is not found, then the diagram has been saved in a different location or the ION handle was not correctly converted to decimal.
- The user can then navigate to the diagram in Vista and relink or delete the object.