org.hibernate.StaleObjectStateException

Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.openvpms.component.business.domain.im.act.Act#3068]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web269

  • via JIRA by tdekeizer, 6 months ago
    Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.openvpms.component.business.domain.im.act.Act#3068]
  • via JIRA by Tony De Keizer, 1 year ago
    Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.openvpms.component.business.domain.im.act.Act#3068]
  • via JIRA by Tony De Keizer, 1 year ago
    Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.openvpms.component.business.domain.im.act.Act#3649]
  • Stack trace

    • org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.openvpms.component.business.domain.im.act.Act#3068] at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1761) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2403) at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2303) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2603) at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106) at org.openvpms.component.business.dao.hibernate.im.entity.IMObjectDAOHibernate.save(IMObjectDAOHibernate.java:101) at org.openvpms.component.business.service.archetype.ArchetypeService.save(ArchetypeService.java:536) at org.openvpms.component.business.service.archetype.ArchetypeService.save(ArchetypeService.java:510) at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at org.openvpms.component.business.service.ruleengine.DroolsRuleEngine.invoke(DroolsRuleEngine.java:93) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy3.save(Unknown Source) at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:163) at $Proxy4.save(Unknown Source) at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at org.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80) at org.openvpms.component.business.service.security.OpenVPMSMethodSecurityInterceptor.invoke(OpenVPMSMethodSecurityInterceptor.java:50) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy4.save(Unknown Source) at org.openvpms.web.component.workflow.UpdateIMObjectTask.start(UpdateIMObjectTask.java:127) at org.openvpms.web.component.workflow.WorkflowImpl.next(WorkflowImpl.java:130) at org.openvpms.web.component.workflow.WorkflowImpl.onEvent(WorkflowImpl.java:162) at org.openvpms.web.component.workflow.WorkflowImpl$1.taskEvent(WorkflowImpl.java:73) at org.openvpms.web.component.workflow.AbstractTask.notifyCompleted(AbstractTask.java:103) at org.openvpms.web.app.workflow.checkout.PrintDocumentsTask.access$300(PrintDocumentsTask.java:56) at org.openvpms.web.app.workflow.checkout.PrintDocumentsTask$BatchPrinter.print(PrintDocumentsTask.java:203) at org.openvpms.web.app.workflow.checkout.PrintDocumentsTask$BatchPrinter.printed(PrintDocumentsTask.java:224) at org.openvpms.web.component.im.print.InteractiveIMPrinter.printed(InteractiveIMPrinter.java:243) at org.openvpms.web.component.im.print.InteractiveIMPrinter.doPrint(InteractiveIMPrinter.java:219) at org.openvpms.web.component.im.print.InteractiveIMPrinter$2.windowPaneClosing(InteractiveIMPrinter.java:156) at nextapp.echo2.app.WindowPane.fireWindowClosing(WindowPane.java:153) at nextapp.echo2.app.WindowPane.userClose(WindowPane.java:769) at org.openvpms.web.component.dialog.PopupWindow.close(PopupWindow.java:137) at org.openvpms.web.component.dialog.PopupDialog.close(PopupDialog.java:245) at org.openvpms.web.component.dialog.PopupDialog.onOK(PopupDialog.java:195) at org.openvpms.web.component.dialog.PopupDialog.onButton(PopupDialog.java:173) at org.openvpms.web.component.dialog.PopupDialog$1.actionPerformed(PopupDialog.java:258) at nextapp.echo2.app.button.AbstractButton.fireActionPerformed(AbstractButton.java:135) at nextapp.echo2.app.button.AbstractButton$1.actionPerformed(AbstractButton.java:100) at nextapp.echo2.app.button.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:70) at nextapp.echo2.app.button.DefaultButtonModel.doAction(DefaultButtonModel.java:58) at nextapp.echo2.app.button.AbstractButton.doAction(AbstractButton.java:121) at nextapp.echo2.app.button.AbstractButton.processInput(AbstractButton.java:506) at nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:116) at nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89) at nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:472) at nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279) at nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273) at nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.java:189) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:292) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:108) at org.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:197) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:143) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:246) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:220) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:173) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Unknown Source)[ERROR,ErrorHelper,http-8080-Processor22]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    8 times, 2 months ago
    12 more bugmates