You need to sign in to do that
Don't have an account?
Jai Kumar Gupta
Why Apex batch job is failed
I ran a batch job on our sandbox environment for 2.3M records. There were around 11K batches to process. The process got failed in between after processing half of the batches.
There were 51 batch failures because of "First error: Ending position out of bounds: 5"." issue but the process stopped with status failed after processing 5K batches.
What could be the possible reason behind this failure ? Any help would be greatly appreciated.
Thanks
There were 51 batch failures because of "First error: Ending position out of bounds: 5"." issue but the process stopped with status failed after processing 5K batches.
What could be the possible reason behind this failure ? Any help would be greatly appreciated.
Thanks
Here link showing detail of error you are facing and also the method to solve it : http://help.salesforce.com/apex/HTViewSolution?id=000181121&language=en_US
Please refer to the debug log for more information on error.
Thanks.
For ex:
This job do have some batch failures but the process did run for all the batches and overall status of the job is completed. But for above batch job it stopped without processing all the batches.
I want to understand why that job got failed without processing all the batches. Hope this clarifies what I'm looking for.
Thanks,