+ Start a Discussion

System.UnexpectedException: Error processing messages

We are having some batch apex classes. We wrote methods to test batch apex. The execute of batch apex method makes a callout to external web service. Hence, we have an executeBatch with a size of 1. Our test methods were running without any failures until yesterday. I would consistently for about two-three weeks we did not see this error.  But suddenly, when we run test class, we are getting an error "System.UnexpectedException: Error processing messages" at the line where we call "System.schedule".


Any idea what might cause this? Please advise.

any luck? I'm facing the same issue