org.openvpms.component.business.service.ruleengine.RuleEngineException: Failed to execute the business rule for method save.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Tony De Keizer, 1 year ago
Failed to execute the business rule for method save.
via JIRA by Tony De Keizer, 1 year ago
Failed to execute the business rule for method save.
via JIRA by tdekeizer, 1 year ago
Failed to execute the business rule for method save.
via JIRA by Tony De Keizer, 1 year ago
Failed to execute the business rule for method save.
via JIRA by Tony De Keizer, 1 year ago
Failed to execute the business rule for method save.
via JIRA by Tim Anderson, 1 year ago
Failed to execute the business rule for method save.
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.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.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.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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
at org.openvpms.component.business.service.ruleengine.DroolsRuleEngine.invoke(DroolsRuleEngine.java:93)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at undefined.$Proxy3.save(Unknown Source)
at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292)
at undefined.$Proxy4.save(Unknown Source)
at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.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.openvpms.component.business.service.security.OpenVPMSMethodSecurityInterceptor.invoke(OpenVPMSMethodSecurityInterceptor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at undefined.$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.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.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.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 java.lang.Thread.run(Unknown Source)

Users with the same issue

8 times, 8 months ago
2 times, 1 year ago
7 times, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.