You need to sign in to do that
Don't have an account?
Rahul_sg
Batch Apex Test Method: System.UnexpectedException: Error processing messages
Hi Friends,
My batch job is failing with the folowing error :
System.UnexpectedException: Error processing messages
(System Code)
In the debug log its pointing to the Test.stopTest(); line ; which I think has no relation to this issue.
My batch job archives the content recods based on business defined criteria. the batch class works fine!
I'm updating ContentDocument records in my batch class. I'm not sure if there is any sfdc limitation on updating this object (ContentDocument) in test run mode.
However If I remove test.stoptest() and test.starttest() from my test class then I'm getting the following error:
Internal Salesforce Error: 1156486415-6396 (517458374) (517458374).
Do you think I should create a case with SFDC for this?