org.kuali.rice.kew.exception.WorkflowServiceErrorException: Error loading xml file [[WorkflowServiceErrorImpl: type=general.error.parsexml, message=Error loading xml file, arg1=null, arg2=null, children=[]]]

Kuali JIRA | Travis Schneeberger | 7 years ago
  1. 0

    It appears that the allowOverwrite on rule templates is not working. To reproduce this error, try to reingest the ProposalDevelopmentDocument.xml kew file found in KC. Ingestion failed Failed to ingest xml doc: ProposalDevelopmentDocument.xml Caught Exception loading xml data from ingester4540029323263174945.tmp:ProposalDevelopmentDocument.xml. Will move associated file to problem dir. org.kuali.rice.kew.exception.WorkflowServiceErrorException: Error loading xml file [[WorkflowServiceErrorImpl: type=general.error.parsexml, message=Error loading xml file, arg1=null, arg2=null, children=[]]] at org.kuali.rice.kew.rule.service.impl.RuleServiceImpl.loadXml(RuleServiceImpl.java:1247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) at $Proxy219.loadXml(Unknown Source) at org.kuali.rice.kew.batch.XmlDigesterServiceImpl.digest(XmlDigesterServiceImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) at $Proxy216.digest(Unknown Source) at org.kuali.rice.kew.batch.XmlIngesterServiceImpl.ingest(XmlIngesterServiceImpl.java:213) at org.kuali.rice.kew.batch.XmlIngesterServiceImpl.ingestThroughOrderedLoaders(XmlIngesterServiceImpl.java:231) at org.kuali.rice.kew.batch.XmlIngesterServiceImpl.ingest(XmlIngesterServiceImpl.java:268) at org.kuali.rice.kew.batch.web.IngesterAction.execute(IngesterAction.java:141) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:503) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:499) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:101) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1074) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:92) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:305) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:88) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:298) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:166) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.kuali.rice.kns.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:66) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:628) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) Caused by: org.kuali.rice.kew.exception.InvalidXmlException: Rule 'System User Approval for Hierarchy children.' on doc 'ProposalDevelopmentDocument' is a duplicate of rule with rule Id 1847 at org.kuali.rice.kew.xml.RuleXmlParser.checkRuleForDuplicate(RuleXmlParser.java:328) at org.kuali.rice.kew.xml.RuleXmlParser.checkForDuplicateRules(RuleXmlParser.java:149) at org.kuali.rice.kew.xml.RuleXmlParser.parseRules(RuleXmlParser.java:121) at org.kuali.rice.kew.xml.RuleXmlParser.parseRules(RuleXmlParser.java:98) at org.kuali.rice.kew.rule.service.impl.RuleServiceImpl.loadXml(RuleServiceImpl.java:1244)

    Kuali JIRA | 7 years ago | Travis Schneeberger
    org.kuali.rice.kew.exception.WorkflowServiceErrorException: Error loading xml file [[WorkflowServiceErrorImpl: type=general.error.parsexml, message=Error loading xml file, arg1=null, arg2=null, children=[]]]
  2. 0

    It appears that the allowOverwrite on rule templates is not working. To reproduce this error, try to reingest the ProposalDevelopmentDocument.xml kew file found in KC. Ingestion failed Failed to ingest xml doc: ProposalDevelopmentDocument.xml Caught Exception loading xml data from ingester4540029323263174945.tmp:ProposalDevelopmentDocument.xml. Will move associated file to problem dir. org.kuali.rice.kew.exception.WorkflowServiceErrorException: Error loading xml file [[WorkflowServiceErrorImpl: type=general.error.parsexml, message=Error loading xml file, arg1=null, arg2=null, children=[]]] at org.kuali.rice.kew.rule.service.impl.RuleServiceImpl.loadXml(RuleServiceImpl.java:1247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) at $Proxy219.loadXml(Unknown Source) at org.kuali.rice.kew.batch.XmlDigesterServiceImpl.digest(XmlDigesterServiceImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) at $Proxy216.digest(Unknown Source) at org.kuali.rice.kew.batch.XmlIngesterServiceImpl.ingest(XmlIngesterServiceImpl.java:213) at org.kuali.rice.kew.batch.XmlIngesterServiceImpl.ingestThroughOrderedLoaders(XmlIngesterServiceImpl.java:231) at org.kuali.rice.kew.batch.XmlIngesterServiceImpl.ingest(XmlIngesterServiceImpl.java:268) at org.kuali.rice.kew.batch.web.IngesterAction.execute(IngesterAction.java:141) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:503) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:499) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:101) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1074) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:92) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:305) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:88) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:298) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:166) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.kuali.rice.kns.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:66) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:628) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) Caused by: org.kuali.rice.kew.exception.InvalidXmlException: Rule 'System User Approval for Hierarchy children.' on doc 'ProposalDevelopmentDocument' is a duplicate of rule with rule Id 1847 at org.kuali.rice.kew.xml.RuleXmlParser.checkRuleForDuplicate(RuleXmlParser.java:328) at org.kuali.rice.kew.xml.RuleXmlParser.checkForDuplicateRules(RuleXmlParser.java:149) at org.kuali.rice.kew.xml.RuleXmlParser.parseRules(RuleXmlParser.java:121) at org.kuali.rice.kew.xml.RuleXmlParser.parseRules(RuleXmlParser.java:98) at org.kuali.rice.kew.rule.service.impl.RuleServiceImpl.loadXml(RuleServiceImpl.java:1244)

    Kuali JIRA | 7 years ago | Travis Schneeberger
    org.kuali.rice.kew.exception.WorkflowServiceErrorException: Error loading xml file [[WorkflowServiceErrorImpl: type=general.error.parsexml, message=Error loading xml file, arg1=null, arg2=null, children=[]]]

    Root Cause Analysis

    1. org.kuali.rice.kew.exception.InvalidXmlException

      Rule 'System User Approval for Hierarchy children.' on doc 'ProposalDevelopmentDocument' is a duplicate of rule with rule Id 1847

      at org.kuali.rice.kew.xml.RuleXmlParser.checkRuleForDuplicate()
    2. org.kuali.rice
      RuleServiceImpl.loadXml
      1. org.kuali.rice.kew.xml.RuleXmlParser.checkRuleForDuplicate(RuleXmlParser.java:328)
      2. org.kuali.rice.kew.xml.RuleXmlParser.checkForDuplicateRules(RuleXmlParser.java:149)
      3. org.kuali.rice.kew.xml.RuleXmlParser.parseRules(RuleXmlParser.java:121)
      4. org.kuali.rice.kew.xml.RuleXmlParser.parseRules(RuleXmlParser.java:98)
      5. org.kuali.rice.kew.rule.service.impl.RuleServiceImpl.loadXml(RuleServiceImpl.java:1244)
      5 frames