Apex Test Class errors in Salesforce

These errors usually will appear when trying to deploy from a sandbox to production or to another sandbox.  Salesforce has a set of tests that are required to be done before the deployment is allowed.

 

----

Example: 

line -1, column -1: Previous load of class failed: BRNSHRK.BaseBrainsharkComponentController: line 194, column 16: Dependent class is invalid and needs recompilation:

BRNSHRK.SendEmailController: line 848, column 50: Dependent class is invalid and needs recompilation:

-----

Solution

When this type of error is received in SFDC during testing in a Salesforce instance it usually means that there were changes made to an object and recompilation is needed.  The SFDC Admin reporting the issue should be able to do this or can contact Salesforce Support for instructions for recompiling

 

If recompiling does not resolve the issue please contact support@brainshark.com so we can research what may be causing the issue.

Have more questions? Submit a request

Comments

Powered by Zendesk