You need to sign in to do that
Don't have an account?
ess
UNABLE_TO_LOCK_ROW,
UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record:
I am getting the above error message when I am trying to load data through the data loader but in case of UI I am not having the issue.
I have a trigger on after insert of lead which is trying to update records leads and on that line this error is occuring.
I think, answer is in your query only. "lead update trigger internally trying to update lead records" i.e. trigger is trying to update same lead record again and again.
You need to keep track of updated lead records in seperate list to avoid this error.
I also have this issue, but when deploying in our livesystem. It's working fine in Sandbox, Devaccount and other livesstems. I think it is caused by a custom object, but I could not test it exactly. But I get this error when trying to deploy changed objects.
I also contacted salesforce support, but still without access... :smileyindifferent:
Meanwhile I found a solution to deploy: First Merge Object-files in Eclipse or do updates on objects manualy. (Bad, I know!) Then I can deploy everything but without objects!
So I think this errors is caused by testclasses. Maybe a testclass is running an SFDC is trying to update this object at the same time??
Please see http://boards.developerforce.com/t5/Apex-Code-Development/UNABLE-TO-LOCK-ROW-error-during-deployment-SFDC-bug/td-p/208792 for the solution to UNABLE_TO_LOCK_ROW errors during deployment.