[OpenVPMS Developers] [JIRA] (OVPMS-1106) Failed to execute the business rules for URI archetypeService.save.act.supplierDelivery.before: Failed to validate Product of Product Stock Location

Message from Tim Anderson (Created) (JIRA) jira@openvpms.org

Failed to execute the business rules for URI archetypeService.save.act.supplierDelivery.before: Failed to validate Product of Product Stock Location ----------------------------------------------------------------------------------------------------------------------------------------------------

Key: OVPMS-1106 URL: https://openvpms.atlassian.net/browse/OVPMS-1106 Project: VPMS Web Application Issue Type: Bug Components: Supplier Affects Versions: 1.5 Reporter: Tim Anderson Assignee: Tony De Keizer

From a 1.5 error report: {noformat} org.openvpms.component.business.service.ruleengine.RuleEngineException: Failed to execute the business rules for URI archetypeService.save.act.supplierDelivery.before. at org.openvpms.component.business.service.ruleengine.RuleEngine.executeRules(RuleEngine.java:75) at org.openvpms.component.business.service.archetype.rule.ArchetypeRuleService.executeRules(ArchetypeRuleService.java:594) at org.openvpms.component.business.service.archetype.rule.ArchetypeRuleService.access$100(ArchetypeRuleService.java:57) at org.openvpms.component.business.service.archetype.rule.ArchetypeRuleService$4.doInTransaction(ArchetypeRuleService.java:506) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.openvpms.component.business.service.archetype.rule.ArchetypeRuleService.execute(ArchetypeRuleService.java:504) at org.openvpms.component.business.service.archetype.rule.ArchetypeRuleService.save(ArchetypeRuleService.java:306) at org.openvpms.component.business.service.archetype.rule.ArchetypeRuleService.save(ArchetypeRuleService.java:276) at org.openvpms.web.component.im.edit.SaveHelper.save(SaveHelper.java:125) at org.openvpms.web.component.im.edit.SaveHelper.save(SaveHelper.java:112) at org.openvpms.web.component.im.edit.AbstractIMObjectEditor.saveObject(AbstractIMObjectEditor.java:488) at org.openvpms.web.app.supplier.delivery.DeliveryEditor.doSave(DeliveryEditor.java:84) at org.openvpms.web.component.im.edit.AbstractIMObjectEditor.save(AbstractIMObjectEditor.java:273) at org.openvpms.web.app.supplier.delivery.DeliveryCRUDWindow.post(DeliveryCRUDWindow.java:226) at org.openvpms.web.app.subsystem.ActCRUDWindow$1.onOK(ActCRUDWindow.java:185) at org.openvpms.web.component.dialog.PopupDialogListener.onAction(PopupDialogListener.java:111) at org.openvpms.web.component.dialog.PopupDialogListener.onClose(PopupDialogListener.java:43) at org.openvpms.web.component.event.WindowPaneListener.windowPaneClosing(WindowPaneListener.java:39) at nextapp.echo2.app.WindowPane.fireWindowClosing(WindowPane.java:154) at org.openvpms.web.component.dialog.PopupWindow.fireWindowClosing(PopupWindow.java:259) at nextapp.echo2.app.WindowPane.userClose(WindowPane.java:795) at org.openvpms.web.component.dialog.PopupDialog.userClose(PopupDialog.java:226) at org.openvpms.web.component.dialog.MessageDialog.userClose(MessageDialog.java:87) at org.openvpms.web.component.dialog.PopupWindow.close(PopupWindow.java:183) at org.openvpms.web.component.dialog.PopupDialog.close(PopupDialog.java:362) at org.openvpms.web.component.dialog.PopupDialog.onOK(PopupDialog.java:278) at org.openvpms.web.component.dialog.PopupDialog.onButton(PopupDialog.java:249) at org.openvpms.web.component.dialog.PopupDialog$2.onAction(PopupDialog.java:375) at org.openvpms.web.component.event.ActionListener.actionPerformed(ActionListener.java:41) at nextapp.echo2.app.button.AbstractButton.fireActionPerformed(AbstractButton.java:135) at echopointng.ButtonEx$1.actionPerformed(ButtonEx.java:120) at nextapp.echo2.app.button.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:70) at echopointng.model.DefaultButtonModelEx.doAction(DefaultButtonModelEx.java:51) at echopointng.ButtonEx.processInput(ButtonEx.java:202) 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:471) at nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279) at nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273) at org.openvpms.web.servlet.SpringWebContainerServlet.process(SpringWebContainerServlet.java:148) at nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.java:189) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown Source) Caused by: org.springmodules.jsr94.Jsr94InvalidRuleSessionException: Failed to validate the object using archetype party.organisationStockLocation.1.0. FailedToValidObjectAgainstArchetype node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage ; nested exception is RuleException(javax.rules.InvalidRuleSessionException: Failed to validate the object using archetype party.organisationStockLocation.1.0. FailedToValidObjectAgainstArchetype node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage ), root cause(org.drools.spi.ConsequenceException: Failed to validate the object using archetype party.organisationStockLocation.1.0. FailedToValidObjectAgainstArchetype node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage ) at org.springmodules.jsr94.core.Jsr94Template.executeStateless(Jsr94Template.java:149) at org.springmodules.jsr94.core.Jsr94RuleSupport.executeStateless(Jsr94RuleSupport.java:108) at org.springmodules.jsr94.core.Jsr94RuleSupport.executeStateless(Jsr94RuleSupport.java:148) at org.openvpms.component.business.service.ruleengine.RuleEngine.executeRules(RuleEngine.java:73) ... 71 more Caused by: javax.rules.InvalidRuleSessionException: Failed to validate the object using archetype party.organisationStockLocation.1.0. FailedToValidObjectAgainstArchetype node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage

at org.drools.jsr94.rules.StatelessRuleSessionImpl.executeRules(StatelessRuleSessionImpl.java:169) at org.drools.jsr94.rules.StatelessRuleSessionImpl.executeRules(StatelessRuleSessionImpl.java:126) at org.springmodules.jsr94.core.Jsr94RuleSupport$1.execute(Jsr94RuleSupport.java:115) at org.springmodules.jsr94.core.Jsr94Template.executeStateless(Jsr94Template.java:146) ... 74 more Caused by: org.drools.spi.ConsequenceException: Failed to validate the object using archetype party.organisationStockLocation.1.0. FailedToValidObjectAgainstArchetype node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage node:source msg:errorMessage

at org.drools.semantics.java.JavaBlockConsequence.invoke(JavaBlockConsequence.java:150) at org.drools.reteoo.AgendaItem.fire(AgendaItem.java:168) at org.drools.reteoo.Agenda.fireNextItem(Agenda.java:476) at org.drools.reteoo.WorkingMemoryImpl.fireAllRules(WorkingMemoryImpl.java:253) at org.drools.reteoo.WorkingMemoryImpl.fireAllRules(WorkingMemoryImpl.java:268) at org.drools.jsr94.rules.StatelessRuleSessionImpl.executeRules(StatelessRuleSessionImpl.java:165) ... 77 more Caused by: org.openvpms.component.business.service.archetype.ValidationException: Failed to validate the object using archetype party.organisationStockLocation.1.0. at org.openvpms.component.business.service.archetype.ArchetypeService.validateObject(ArchetypeService.java:213) at org.openvpms.component.business.service.archetype.ArchetypeService.save(ArchetypeService.java:536) at org.openvpms.component.business.service.archetype.ArchetypeService.save(ArchetypeService.java:513) at sun.reflect.GeneratedMethodAccessor842.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:309) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) at $Proxy4.save(Unknown Source) at sun.reflect.GeneratedMethodAccessor842.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:309) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:67) at org.openvpms.component.business.service.security.OpenVPMSMethodSecurityInterceptor.invoke(OpenVPMSMethodSecurityInterceptor.java:50) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy5.save(Unknown Source) at org.openvpms.archetype.rules.supplier.DeliveryProcessor.apply(DeliveryProcessor.java:167) at Consequence_0.invoke(ANONYMOUS.java:4) at org.drools.semantics.java.JavaBlockConsequence.invoke(JavaBlockConsequence.java:130) ... 82 more {noformat}

-- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://openvpms.atlassian.net/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira

_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/developers Posts from this mailing list can be viewed online and replied to in the OpenVPMS Developer's forum- http://tinyurl.com/openvdf

Syndicate content