Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [unexpectedexception]

Use for questions related to System.UnexpectedException.

4 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
270 views

System.UnexpectedException after catching an exception in unit test

I've encountered an odd situation where the presence or absence of a try/catch block results in an unusual system error: System.UnexpectedException: Error processing messages The test case is ...
4
votes
1answer
1k views

recalculateFormulas() causing UnexpectedException: Unable to create/update fields: IsDeleted

When I update my custom Record__c a trigger runs, and it calls recalculateFormulas() on the record. This results in the following error: System.UnexpectedException: Unable to create/update fields: ...
1
vote
0answers
278 views

Apex Exception Email not sent in sandbox

Hello I wrote a class which implements Messaging.InboundEmailHandler so I can store my Unhandled Exceptions in Salesforce for historical reporting. I tested it manually by sending an email to my ...
0
votes
2answers
110 views

Collection read only : Unable to add to set

I have to populate a set of Ids with Ids derived from a List<List<sObject>> say searchlist. Below code as I am trying gives me System.Final Exception as Collection is read only and ...