function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Albert Joseph Felix 10Albert Joseph Felix 10 

line -1, column -1: __MISSING LABEL__ PropertyFile - val dependent.class.invalid not found in section ContextExceptions

Hi Everyone,

I'm trying to delete a an Object in production and apprently the object has a relationship with the an Apex Class, so for me to proceed and delete the object is to delete the class related to the object. 

In the sanboxes(multiple sandbox) I was able to delete the said class and the said object.
NOTE: We even tried to refresh what is on Production, to reflect everything to the sanboxes, but this only happens in Production, again I was able to delete the object and Class with ease.

Then upon trying again, when I try to "deploy to server" the XML file which has a status changed to Deleted it sheos this error message "line -1, column -1: __MISSING LABEL__ PropertyFile - val dependent.class.invalid not found in section ContextExceptions   ". again the same thing is what I did to our sandbox and it got deleted.

Please i anyone know how to handle this kind of case, please do share. thanks alot.