+1 vote
102 views
by (163k points)

I have never seen this error before. It comes up when trying to run a test in Production. It happens when promoting the class (with just some capitalization changed, so it's not a real change) to Production. Class is running in API 49.0 and compiles fine in a full sandbox on Summer20 (49.0) and in a partial sandbox running Winter21 (50.0), and it fails in Production running Winter21 (50.0).

The error has no line number, and it shows when deploying using change set and via Gearset.

When trying to compile all classes (the link on the Apex class list) it gives one of those "provide this error code to Salesforce" pages. Not very helpful!

This started right after the org was updated to Winter21. Our nightly test run came back with an error. We hadn't edited the code at all.

Has anyone ever seen this error? A Google search for the error text yields nothing.

1 Answer

+1 vote
by (163k points)
 
Best answer

Thanks for the help, all.

The error "magically" went away. I can now compile all classes and can promote the class to production without any problems.

I dislike intermittent problems. Salesforce has been notified and is doing testing on a similar issue that came in to them at the same time.

EDIT: The bug has been fixed by Salesforce.

Welcome to Memory Exceeded, where you can ask questions and receive answers from other members of the community.
You can donate any amount for Orphans village using following QR Code.
...