Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12544

Update of request item generates an error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Upcoming Branch
    • None
    • order

    Description

      Saving an update of a request item generates following error

      2022-01-26 22:48:08,447 |jsse-nio-8443-exec-5 |ServiceEventHandler           |E| Service invocation error
      org.apache.ofbiz.service.GenericServiceException: Error running simple method [update] in XML file []:  (Could not find SimpleMethod XML document in resource: )
      	at org.apache.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:83) ~[ofbiz.jar:?]
      	at org.apache.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:47) ~[ofbiz.jar:?]
      	at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424) ~[ofbiz.jar:?]
      	at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) ~[ofbiz.jar:?]
      	at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93) ~[ofbiz.jar:?]
      	at org.apache.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:253) [ofbiz.jar:?]
      	at org.apache.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:1026) [ofbiz.jar:?]
      	at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:677) [ofbiz.jar:?]
      	at org.apache.ofbiz.webapp.control.ControlServlet.handle(ControlServlet.java:231) [ofbiz.jar:?]
      	at org.apache.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:81) [ofbiz.jar:?]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:681) [tomcat-servlet-api-9.0.54.jar:4.0.FR]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) [tomcat-servlet-api-9.0.54.jar:4.0.FR]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.41.jar:9.0.41]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.ofbiz.webapp.control.SameSiteFilter.doFilter(SameSiteFilter.java:45) [ofbiz.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:188) [ofbiz.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156) [ofbiz.jar:?]
      	at javax.servlet.http.HttpFilter.doFilter(HttpFilter.java:57) [tomcat-servlet-api-9.0.54.jar:4.0.FR]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) [log4j-web-2.17.1.jar:2.17.1]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) [tomcat-catalina-9.0.54.jar:9.0.54]
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382) [tomcat-coyote-9.0.54.jar:9.0.54]
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-coyote-9.0.54.jar:9.0.54]
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:895) [tomcat-coyote-9.0.54.jar:9.0.54]
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1722) [tomcat-coyote-9.0.54.jar:9.0.54]
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote-9.0.54.jar:9.0.54]
      	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-util-9.0.54.jar:9.0.54]
      	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-util-9.0.54.jar:9.0.54]
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util-9.0.54.jar:9.0.54]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
      Caused by: org.apache.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML document in resource: 
      	at org.apache.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:273) ~[ofbiz.jar:?]
      	at org.apache.ofbiz.minilang.SimpleMethod.getSimpleMethod(SimpleMethod.java:240) ~[ofbiz.jar:?]
      	at org.apache.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:345) ~[ofbiz.jar:?]
      	at org.apache.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:370) ~[ofbiz.jar:?]
      	at org.apache.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:80) ~[ofbiz.jar:?]
      	... 46 more
      2022-01-26 22:48:08,453 |jsse-nio-8443-exec-5 |RequestHandler                |E| Request updaterequestitem caused an error with the following message: Error calling event: org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error (Could not find SimpleMethod XML document in resource: )
       

      what i did:

      1. started by adding a new item to a request, entering a valid product and a quantity
      2. saved the new item
      3. opened the item to edit
      4. entered a value for the amount
      5. saved the updated item

      Attachments

        Activity

          People

            Unassigned Unassigned
            pierresmits Pierre Smits
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: