function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aurora Ganguly 10Aurora Ganguly 10 

error msg

how to remove the error msg of attempthow to remove the seccond error msg
NagendraNagendra (Salesforce Developers) 
Hi Aurora,

This kind of error may arise at any sort of circumstances in Salesforce, please let us know what exactly are you trying to do and it would be really helpful to troubleshoot the issue if you post some code snippet here.

Thanks,
Nagendra 
Aurora Ganguly 10Aurora Ganguly 10
hi, plz see this code Thanks and regards, Aurora Ganguly
saikrishna.Gsaikrishna.G
Hi Aurora,

You will get this kind of error when you are referencing a null record in the page.If you are getting this on page load check your Constructor and see what you are querying in that and make sure that it returns some records.

Thanks,
Saikrishna