java.lang.RuntimeException: Error rendering screen [component://webroot/screen/webroot.xml]

Stack Overflow | Jimmy Shen | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Running nginx http proxy to jetty (gradle run) throws "org.eclipse.jetty.io.EofException: Stream closed" exception

    Stack Overflow | 7 months ago | Jimmy Shen
    java.lang.RuntimeException: Error rendering screen [component://webroot/screen/webroot.xml]

    Root Cause Analysis

    1. org.eclipse.jetty.io.EofException

      Stream closed

      at org.eclipse.jetty.server.ResponseWriter.isOpen()
    2. Jetty
      ResponseWriter.flush
      1. org.eclipse.jetty.server.ResponseWriter.isOpen(ResponseWriter.java:136)[?:?]
      2. org.eclipse.jetty.server.ResponseWriter.flush(ResponseWriter.java:146)[?:?]
      2 frames
    3. org.moqui.impl
      WebFacadeImpl.sendJsonResponse
      1. org.moqui.impl.context.WebFacadeImpl.sendJsonResponseInternal(WebFacadeImpl.groovy:624)[moqui-framework-2.0.0.jar:2.0.0]
      2. org.moqui.impl.context.WebFacadeImpl.sendJsonResponse(WebFacadeImpl.groovy:557)[moqui-framework-2.0.0.jar:2.0.0]
      2 frames
    4. org.moqui.context
      WebFacade$sendJsonResponse$0.call
      1. org.moqui.context.WebFacade$sendJsonResponse$0.call(Unknown Source)[?:?]
      1 frame
    5. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)[groovy-all-2.4.7.jar:2.4.7]
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)[groovy-all-2.4.7.jar:2.4.7]
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)[groovy-all-2.4.7.jar:2.4.7]
      3 frames
    6. Unknown
      zc_common_CommonServices_get_ApiKey.run
      1. zc_common_CommonServices_get_ApiKey.run(zc_common_CommonServices_get_ApiKey:7)[script:?]
      1 frame
    7. org.moqui.impl
      WebFacadeImpl.handleServiceRestCall
      1. org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:66)[moqui-framework-2.0.0.jar:2.0.0]
      2. org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.groovy:53)[moqui-framework-2.0.0.jar:2.0.0]
      3. org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.groovy:319)[moqui-framework-2.0.0.jar:2.0.0]
      4. org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.groovy:167)[moqui-framework-2.0.0.jar:2.0.0]
      5. org.moqui.impl.service.RestApi$MethodService.run(RestApi.groovy:192)[moqui-framework-2.0.0.jar:2.0.0]
      6. org.moqui.impl.service.RestApi$PathNode.runByMethod(RestApi.groovy:550)[moqui-framework-2.0.0.jar:2.0.0]
      7. org.moqui.impl.service.RestApi$PathNode.visitChildOrRun(RestApi.groovy:579)[moqui-framework-2.0.0.jar:2.0.0]
      8. org.moqui.impl.service.RestApi$ResourceNode.visit(RestApi.groovy:655)[moqui-framework-2.0.0.jar:2.0.0]
      9. org.moqui.impl.service.RestApi$PathNode.visitChildOrRun(RestApi.groovy:570)[moqui-framework-2.0.0.jar:2.0.0]
      10. org.moqui.impl.service.RestApi$ResourceNode.visit(RestApi.groovy:655)[moqui-framework-2.0.0.jar:2.0.0]
      11. org.moqui.impl.service.RestApi$PathNode.visitChildOrRun(RestApi.groovy:570)[moqui-framework-2.0.0.jar:2.0.0]
      12. org.moqui.impl.service.RestApi$ResourceNode.visit(RestApi.groovy:655)[moqui-framework-2.0.0.jar:2.0.0]
      13. org.moqui.impl.service.RestApi.run(RestApi.groovy:69)[moqui-framework-2.0.0.jar:2.0.0]
      14. org.moqui.impl.context.WebFacadeImpl.handleServiceRestCall(WebFacadeImpl.groovy:1137)[moqui-framework-2.0.0.jar:2.0.0]
      14 frames
    8. org.moqui.context
      WebFacade$handleServiceRestCall.call
      1. org.moqui.context.WebFacade$handleServiceRestCall.call(Unknown Source)[?:?]
      1 frame
    9. Unknown
      rest_xml_transition_s1_actions.run
      1. rest_xml_transition_s1_actions.run(rest_xml_transition_s1_actions:6)[script:?]
      1 frame
    10. org.moqui.impl
      MoquiServlet.service
      1. org.moqui.impl.actions.XmlAction.run(XmlAction.groovy:66)[moqui-framework-2.0.0.jar:2.0.0]
      2. org.moqui.impl.screen.ScreenDefinition$TransitionItem.run(ScreenDefinition.groovy:701)[moqui-framework-2.0.0.jar:2.0.0]
      3. org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:239)[moqui-framework-2.0.0.jar:2.0.0]
      4. org.moqui.impl.screen.ScreenRenderImpl.recursiveRunTransition(ScreenRenderImpl.groovy:233)[moqui-framework-2.0.0.jar:2.0.0]
      5. org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groovy:347)[moqui-framework-2.0.0.jar:2.0.0]
      6. org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:176)[moqui-framework-2.0.0.jar:2.0.0]
      7. org.moqui.impl.webapp.MoquiServlet.doScreenRequest(MoquiServlet.groovy:79)[moqui-framework-2.0.0.jar:2.0.0]
      8. org.moqui.impl.webapp.MoquiServlet.service(MoquiServlet.groovy:54)[moqui-framework-2.0.0.jar:2.0.0]
      8 frames
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[moqui-2.0.0.war:3.1.0]
      1 frame
    12. Jetty
      SelectChannelEndPoint$2.run
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837)[moqui-2.0.0.war:9.3.10.v20160621]
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689)[moqui-2.0.0.war:9.3.10.v20160621]
      3. org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:225)[moqui-2.0.0.war:9.3.10.v20160621]
      4. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)[moqui-2.0.0.war:9.3.10.v20160621]
      5. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)[moqui-2.0.0.war:9.3.10.v20160621]
      6. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[moqui-2.0.0.war:9.3.10.v20160621]
      7. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)[moqui-2.0.0.war:9.3.10.v20160621]
      8. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)[moqui-2.0.0.war:9.3.10.v20160621]
      9. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)[moqui-2.0.0.war:9.3.10.v20160621]
      10. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)[moqui-2.0.0.war:9.3.10.v20160621]
      11. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[moqui-2.0.0.war:9.3.10.v20160621]
      12. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)[moqui-2.0.0.war:9.3.10.v20160621]
      13. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[moqui-2.0.0.war:9.3.10.v20160621]
      14. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)[moqui-2.0.0.war:9.3.10.v20160621]
      15. org.eclipse.jetty.server.Server.handle(Server.java:524)[moqui-2.0.0.war:9.3.10.v20160621]
      16. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)[moqui-2.0.0.war:9.3.10.v20160621]
      17. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)[moqui-2.0.0.war:9.3.10.v20160621]
      18. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)[moqui-2.0.0.war:9.3.10.v20160621]
      19. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)[moqui-2.0.0.war:9.3.10.v20160621]
      20. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)[moqui-2.0.0.war:9.3.10.v20160621]
      20 frames
    13. org.eclipse.jetty
      ExecuteProduceConsume.run
      1. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)[moqui-2.0.0.war:9.3.10.v20160621]
      2. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)[moqui-2.0.0.war:9.3.10.v20160621]
      3. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)[moqui-2.0.0.war:9.3.10.v20160621]
      3 frames
    14. Jetty
      QueuedThreadPool$2.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)[moqui-2.0.0.war:9.3.10.v20160621]
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)[moqui-2.0.0.war:9.3.10.v20160621]
      2 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_40-release]
      1 frame