water.exceptions.H2ONotFoundArgumentException: Resource /apple-touch-icon-precomposed.png not found

JIRA | Michal Malohlava | 4 months ago
  1. 0

    Safari causes H2O to log "missing resources" error for selected apple files. For example: {noformat} Resource not found: /apple-touch-icon.png ERRR: water.exceptions.H2ONotFoundArgumentException: Resource /apple-touch-icon-precomposed.png not found 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at water.api.RequestServer.response404(RequestServer.java:589) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at water.api.RequestServer.getResource(RequestServer.java:804) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at water.api.RequestServer.serve(RequestServer.java:389) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at water.api.RequestServer.doGeneric(RequestServer.java:245) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at water.api.RequestServer.doGet(RequestServer.java:197) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.Server.handle(Server.java:370) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) 08-15 19:31:33.662 172.16.2.223:54321 14119 #32762-15 ERRR: at java.lang.Thread.run(Thread.java:745) {noformat} This fix should skip these resource from being log or log "missing resource" error as warning.

    JIRA | 4 months ago | Michal Malohlava
    water.exceptions.H2ONotFoundArgumentException: Resource /apple-touch-icon-precomposed.png not found

    Root Cause Analysis

    1. water.exceptions.H2ONotFoundArgumentException

      Resource /apple-touch-icon-precomposed.png not found

      at water.api.RequestServer.response404()
    2. water.api
      RequestServer.doGet
      1. water.api.RequestServer.response404(RequestServer.java:589)
      2. water.api.RequestServer.getResource(RequestServer.java:804)
      3. water.api.RequestServer.serve(RequestServer.java:389)
      4. water.api.RequestServer.doGeneric(RequestServer.java:245)
      5. water.api.RequestServer.doGet(RequestServer.java:197)
      5 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      2 frames
    4. Jetty
      BlockingHttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      11. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
      12. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      13. org.eclipse.jetty.server.Server.handle(Server.java:370)
      14. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
      15. org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
      16. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
      17. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
      18. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
      19. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
      20. org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)
      20 frames
    5. GWT dev
      SocketConnector$ConnectorEndPoint.run
      1. org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)
      1 frame
    6. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
      2 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame