Intermittent Error when trying to access Cache.org() in apex
Last updated 2017-10-14 ·Reference W-3675241 ·Reported By 2 users
Summary
When customer tries to access Cache methods apex he intermittently gets internal salesforce error and in debug logs we can sometimes see the error
'Unable to get Org cache for partition local.partition name :null'
Repro
1.)Run the below code in Anonymous window
if(!Cache.Org.contains('test'))
{
Cache.Org.put('test',0);
}
2.) You will get Internal salesforce error very intermittently
Workaround
No workaround as of now
Reported By (2)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.