Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4455

Failed to load the resource: /html/alert.dsp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.5.0
    • 9.0.0
    • None
    •  

      Tomcat 9

      Java: jdk 11.02

       

    • None

      When an include is used sometimes this error appear:

      Failed to load the resource: /html/alert.dsp

      The include is loaded in this way:

       

       

      Page desktopPage = Executions.getCurrent().getDesktop().getPageIfAny("main"); 
      Page desktopPage = Executions.getCurrent().getDesktop().getPageIfAny("main"); 
      Div center = (Div) desktopPage.getFellow("dashBoardCenter"); 
      Include include = (Include) center.getFellow("dashBoardPage"); 
      params.forEach((k, v) -> Executions.getCurrent().setAttribute(k, v)); 
      include.setSrc(page); 
      include.invalidate();
       
      

       

      This is the stacktrace

      SEVERE: Servlet.service() for servlet [zkLoader] threw exceptionSEVERE: Servlet.service() for servlet [zkLoader] threw exceptionjava.io.FileNotFoundException: Failed to load the resource: /html/alert.dsp at
      org.zkoss.web.util.resource.DspExtendlet.service(DspExtendlet.java:87) at
      org.zkoss.web.util.resource.ClassWebResource.web0(ClassWebResource.java:605) at
      org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:592) at
      org.zkoss.web.util.resource.ClassWebResource.service(ClassWebResource.java:272) at
      org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:424) at
      org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:495) at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:660) at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at
      org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712) at
      org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:580) at
      org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:516) at
      org.zkoss.web.servlet.Servlets.include(Servlets.java:974) at
      org.zkoss.zk.ui.http.Utils.handleError(Utils.java:159) at
      org.zkoss.zk.ui.http.DHtmlLayoutServlet.handleError(DHtmlLayoutServlet.java:284) at
      org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:143) at
      org.zkoss.zk.ui.http.DHtmlLayoutServlet.doPost(DHtmlLayoutServlet.java:154) at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:660) at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at
      org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712) at
      org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:580) at
      org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:516) at
      org.zkoss.web.servlet.Servlets.include(Servlets.java:979) at
      org.zkoss.zk.ui.http.ExecutionImpl.include(ExecutionImpl.java:204) at
      org.zkoss.zul.Include.include(Include.java:681) at
      org.zkoss.zul.Include.renderProperties(Include.java:628) at
      org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:2175) at
      org.zkoss.zk.ui.impl.UiVisualizer.redraw(UiVisualizer.java:1016) at
      org.zkoss.zk.ui.impl.UiVisualizer.getResponses(UiVisualizer.java:710) at
      org.zkoss.zk.ui.impl.UiEngineImpl.getResponses(UiEngineImpl.java:1536) at
      org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1342) at
      org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:611) at
      org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:487) at
      org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:495) at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:660) at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at
      org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607) at
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) at
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at
      org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668) at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at
      org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) at
      org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at
      org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) at
      org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) at
      org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at
      java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at
      java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at
      org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at
      java.base/java.lang.Thread.run(Thread.java:834)
      

            DevChu DevChu
            afxgroup afxgroup
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: