Running into NoDataFoundException intermittently when running Apex Batch Jobs
Salesforce says this is fixed.
Summary
Customers running object updates through Apex batch job. Sometimes jobs are failing with the following error notification email.
---
Subject: Developer script exception from XXXX : 'YYYY' : ORA-01403: no data found ORA-06512: at "BASHFUL.CCUSTOMENTITYDATATEMPLATE", line 465 ORA-06512: at line 1 {call cCustomEntityDataTemplate.update_custentdatas(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)} {call cCustomEntityDataTemplate.update_custentdatas(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
Body: Apex script unhandled exception by user/organization: 005XXXXXXXXXXXX/00DYYYYYYYYYYYY Failed to process batch for class 'XXXXX' for job id '707ZZZZZZZZZZ'
---
---
Subject: Developer script exception from XXXX : 'YYYY' : ORA-01403: no data found ORA-06512: at "BASHFUL.CCUSTOMENTITYDATATEMPLATE", line 465 ORA-06512: at line 1 {call cCustomEntityDataTemplate.update_custentdatas(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)} {call cCustomEntityDataTemplate.update_custentdatas(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
Body: Apex script unhandled exception by user/organization: 005XXXXXXXXXXXX/00DYYYYYYYYYYYY Failed to process batch for class 'XXXXX' for job id '707ZZZZZZZZZZ'
---
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Solution Deployed with 9 reports
Nov 30, 2026
Also open in Custom Schema
Lightning record page loading issue with different errors after Spring 24 Sandbox preview.
Solution ScheduledPlatform / Custom SchemaSpring '24Reported Jan 8, 2024196 reports196reports
Picklist Chart Colors cannot be changed in Lightning
Solution DeployingPlatform / Custom SchemaSpring '20Reported Mar 3, 2020162 reports162reports
ASC and DESC in ORDER BY in SUBQUERY returns different results for custom metadata types
In ReviewPlatform / Custom SchemaSummer '19Reported Aug 1, 201983 reports83reports
Unable to delete a picklist value on Global Value Set
In ReviewPlatform / Custom SchemaSpring '21Reported May 27, 202144 reports44reports