Technical FAQs

Ask a Question

Error "Could not read class" shown when opening a diagram in Vista

Issue:
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.



Product Line:
Power Monitoring Expert 8.x

Environment:
Vista

Cause:
This error occurs because a Vista diagram contains an object whose dependent module has been deleted.

Resolution:
The following steps will allow you to locate the object causing the Invalid object error:
  1. 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.
  1. 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:
<UserDiagramIcon>
      <IonIcon resource_id="50">
            <Caption display_method="South Main" caption_position="8"></Caption>
            <Location left="584" top="367" bottom="397" right="704"></Location>
            <Handle>6291713</Handle>
            <UniqueId>f853e8c7-5bb9-462b-9904-31f34257a01e</UniqueId>
      </IonIcon>
      <Node use_parent_link="0">VIP.WIN-VPTG8F3QQBE</Node>
</UserDiagramIcon>

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"></Caption>
<Location left="584" top="367" bottom="397" right="704"></Location>

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.
  1. ​The user can then navigate to the diagram in Vista and relink or delete the object.
Was this helpful?
What can we do to improve the information ?