Close popover
Brahmeswara Rao (Brahmesh@)
Brahmesh@ Member since 2013 150 posts
Posted: June 8, 2016
Last activity: October 4, 2018

Lock Gone Exception

Lock Gone exception is being logged in logs , Below is the use case details.

>> Try to upload the spreadsheet through model dialog .

>> performing obj-save on work page in post activity of model dialog , but it's giving an error for 1 object out of 50 objects.

we haven't heard any compliance from the user while processing the object but exception was logged in logs.

Generally it occurs when trying to perform obj save on unlocked object, but how to identify when lock is being released for an object.  Any possible scenario to cause this exception?

I'm going to do two things to get rid of this exception  ,

>> Remove obj-save and external commit on work object instance from post activity so submitModelFlowAction will take care of work object transaction operation.

>> if object changes needs to be save on fly then we do obj-Refresh-Lock if lock is not held on object.

Please suggest here if any suggestion to get rid of below exception.

2016-06-02 20:39:36,709 [http-/] (  internal.access.DatabaseImpl)  -  The deferred save failed with the following exception; Save, Delete or Commit has failed because lock "ABC-XYZ-NNN-WORK-TEST C-05" is not held;From: (unknown) ; at; at;



at com.pegarules.generated.activity.ra_action_importspreadsheet_dfb785878d3a745556314bd4e8dd5b5b.step19_circum0(; at com.pegarules.generated.activity.ra_action_importspreadsheet_dfb785878d3a745556314bd4e8dd5b5b.perform(; at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(; at com.pegarules.generated.callActivity_071017_xvj4o_pyNDBZ4Gy293rekg.callActivity07_10_17(; at com.pegarules.generated.callActivity_071017_xvj4o_pyNDBZ4Gy293rekg.invoke(; at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(; at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(; at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(; at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(; at com.pegarules.generated.pega_rules_utilities.callActivity(; at com.pegarules.generated.flowaction.ra_action_uploadspreadsheet_e64bccd1c992134689f5164acdc3ea6e.RunFlowActionActivity_circum0(; at com.pegarules.generated.flowaction.ra_action_uploadspreadsheet_e64bccd1c992134689f5164acdc3ea6e.perform(; at com.pega.pegarules.session.internal.mgmt.Executable.doAction(; at com.pegarules.generated.activity.ra_action_pxperformflowaction_eafc82729edb7106a8de2a224fc038c3.step7_circum0(; at com.pegarules.generated.activity.ra_action_pxperformflowaction_eafc82729edb7106a8de2a224fc038c3.perform(; at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(; at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(; at com.pegarules.generated.activity.ra_action_submitmodalflowaction_f7d707316189fc4dfed3c875e0810b79.step12_circum0(; at com.pegarules.generated.activity.ra_action_submitmodalflowaction_f7d707316189fc4dfed3c875e0810b79.perform(; at

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

System Administration Data Integration
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.