AnsweredAssumed Answered

Out Of office - Error updating user object

Question asked by Eliran Goary on Nov 21, 2018
Latest reply on Nov 22, 2018 by Eliran Goary

Hello guys,

When I use out of office I got this error:

 

 

 

com.aveksa.server.db.PersistenceException: Error updating user object
at com.aveksa.server.core.MasterEnterpriseUserUpdator.save(MasterEnterpriseUserUpdator.java:116)
at com.aveksa.server.core.MasterEnterpriseUser.save(MasterEnterpriseUser.java:3064)
at com.aveksa.server.core.MasterEnterpriseUser.setAvailabiltyStatus(MasterEnterpriseUser.java:3252)
at com.aveksa.server.delegation.BusinessTaskDelegationServiceProvider.setUserAvailabilityStatus(BusinessTaskDelegationServiceProvider.java:127)
at com.aveksa.server.workflow.scripts.utils.JMLFulfiller.updateUserStatus(JMLFulfiller.java:132)
at com.aveksa.server.workflow.scripts.utils.JMLFulfiller.fulfillChanges(JMLFulfiller.java:91)
at com.aveksa.server.workflow.scripts.utils.JMLFulfiller.fulfillChanges(JMLFulfiller.java:54)
at com.aveksa.server.workflow.scripts.utils.SystemFulfiller.fulfillChanges(SystemFulfiller.java:107)
at com.aveksa.server.workflow.scripts.nodes.FulfillmentPhaseNode.fulfillSystemChanges(FulfillmentPhaseNode.java:227)
at com.aveksa.server.workflow.scripts.nodes.FulfillmentPhaseNode.nodeAvailableAsynchronous(FulfillmentPhaseNode.java:162)
at com.aveksa.server.workflow.scripts.nodes.WorkflowNodeHandler.nodeAvailableAsynchronous(WorkflowNodeHandler.java:52)
at sun.reflect.GeneratedMethodAccessor572.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.workpoint.server.script.StatementEngineJava.execute(Unknown Source)
at com.workpoint.server.script.ScriptEngine.A(Unknown Source)
at com.workpoint.server.script.ScriptEngine.execute(Unknown Source)
at com.workpoint.server.monitor.ActionMonitorHelper.A(Unknown Source)
at com.workpoint.server.monitor.ActionMonitorHelper.execute(Unknown Source)
at com.workpoint.services.impl.ScriptExecAsyncServiceImpl.executeScriptMonitor(Unknown Source)
at com.workpoint.client.Monitor.executeScriptMonitor(Unknown Source)
at com.workpoint.queue.work.ActionQWorker.A(Unknown Source)
at com.workpoint.queue.work.ActionQWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.aveksa.server.db.PersistenceException: Error updating user object
at com.aveksa.server.core.MasterEnterpriseUserUpdator.updateUserRecord(MasterEnterpriseUserUpdator.java:238)
at com.aveksa.server.core.MasterEnterpriseUserUpdator.save(MasterEnterpriseUserUpdator.java:113)
... 25 more
Caused by: com.aveksa.server.db.PersistenceException: Failed to update the user "XXXXX"
at com.aveksa.server.core.MasterEnterpriseUserUpdator.updateUserRecord(MasterEnterpriseUserUpdator.java:232)
... 26 more
Caused by: java.lang.RuntimeException: Illegal TXN State: Attempt to start new transaction during rollback. Txn count=2
at com.aveksa.server.db.persistence.PersistenceServiceProvider.beginTransaction(PersistenceServiceProvider.java:2743)
at com.aveksa.server.db.persistence.PersistenceServiceProvider.executeJDBCUpdate(PersistenceServiceProvider.java:3268)
at com.aveksa.server.db.persistence.PersistenceServiceProvider.executeJDBCUpdate(PersistenceServiceProvider.java:3231)
at com.aveksa.server.db.PersistenceManager.executeJDBCUpdate(PersistenceManager.java:496)
at com.aveksa.server.core.MasterEnterpriseUserUpdator.updateUserRecord(MasterEnterpriseUserUpdator.java:226)
... 26 more

 

 

h

Anyone knows how to fix it?

 

Thanks,

Eliran goary

Outcomes