Gack on Apex Jobs page – Status Detail column for certain jobs

Wondering why my Queueable failed with:

Salesforce System Error: 1380510393-83097 (1289245132) (1289245132)

as shown on the Apex Jobs page

No email sent to Apex Exception email address; no limits exception displayed

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

Turns out that Heap was breached. Normally, a Limits error will display on the Apex Jobs page.

If you turn debug on, and can reproduce the transaction, you’ll see Heap breach in debug; or, call Support and have them look in logs for the Gack and time period in question.

See Known Issue which explains why no such Limits exception message appears

"java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean" still occurs after a heap limit exceeded event

Apex , API

Last updated 23 days ago ·Reference W-3177604 ·Reported By 48 users

IN REVIEW

Summary
"java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean" still occurs after a heap limit exceeded event.

- Actual Result
Internal Server Error caused by "java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean" occurs.

- Expected Result
Heap limit exceeded exception instead Internal Server Error should occur.

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply