org.zkoss.zk.ui.UiException: javax.servlet.ServletException: Unable to encode images/menu/realvista_accounting_money_16.png

ZK-Tracker | CJahn | 3 years ago
  1. 0

    This might be related to ZK-2183, but this time the image is available as a file: {noformat}2014-04-01 10:58:25,216 [Thread-3851] ERROR org.zkoss.log(): org.zkoss.zk.ui.UiException: javax.servlet.ServletException: Unable to encode images/menu/realvista_accounting_money_16.png at org.zkoss.zk.ui.http.ExecutionImpl.encodeURL(ExecutionImpl.java:328) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zul.impl.LabelImageElement.getEncodedImageURL(LabelImageElement.java:248) ~[zul-6.5.5.jar:6.5.5] at org.zkoss.zul.impl.LabelImageElement.renderProperties(LabelImageElement.java:272) ~[zul-6.5.5.jar:6.5.5] at org.zkoss.zul.Menuitem.renderProperties(Menuitem.java:311) ~[zul-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1807) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.impl.UiVisualizer.redraw(UiVisualizer.java:978) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.impl.UiVisualizer.redrawComponents(UiVisualizer.java:990) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.impl.UiVisualizer.addResponsesForCreatedPerSiblings(UiVisualizer.java:845) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.impl.UiVisualizer.getResponses(UiVisualizer.java:709) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.impl.UiEngineImpl.getResponses(UiEngineImpl.java:1420) [zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.impl.UiEngineImpl.endUpdate(UiEngineImpl.java:1126) [zk-6.5.5.jar:6.5.5] at org.zkoss.zkex.ui.comet.CometServerPush.deactivate(CometServerPush.java:419) [zkex-6.5.5.jar:na] at org.zkoss.zk.ui.impl.DesktopImpl.deactivateServerPush(DesktopImpl.java:1502) [zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.Executions.deactivate(Executions.java:980) [zk-6.5.5.jar:6.5.5] [...] Caused by: javax.servlet.ServletException: Unable to encode images/menu/realvista_accounting_money_16.png at org.zkoss.web.servlet.http.Encodes.encodeURL(Encodes.java:405) ~[zweb-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.http.ExecutionImpl.encodeURL(ExecutionImpl.java:326) ~[zk-6.5.5.jar:6.5.5] ... 39 common frames omitted Caused by: java.lang.NullPointerException: null at org.apache.catalina.connector.Response.toAbsolute(Response.java:1676) ~[catalina.jar:7.0.52] at org.apache.catalina.connector.Response.encodeURL(Response.java:1220) ~[catalina.jar:7.0.52] at org.apache.catalina.connector.ResponseFacade.encodeURL(ResponseFacade.java:405) ~[catalina.jar:7.0.52] at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:75) ~[servlet-api.jar:na] at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:75) ~[servlet-api.jar:na] at org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper.encodeURL(SaveContextOnUpdateOrErrorResponseWrapper.java:181) ~[spring-security-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.zkoss.web.servlet.http.Encodes.encodeURL0(Encodes.java:513) ~[zweb-6.5.5.jar:6.5.5] at org.zkoss.web.servlet.http.Encodes.access$000(Encodes.java:47) ~[zweb-6.5.5.jar:6.5.5] at org.zkoss.web.servlet.http.Encodes$1.encodeURL(Encodes.java:429) ~[zweb-6.5.5.jar:6.5.5] at org.zkoss.web.servlet.http.Encodes.encodeURL(Encodes.java:402) ~[zweb-6.5.5.jar:6.5.5] ... 40 common frames omitted{noformat}

    ZK-Tracker | 3 years ago | CJahn
    org.zkoss.zk.ui.UiException: javax.servlet.ServletException: Unable to encode images/menu/realvista_accounting_money_16.png
  2. 0

    This might be related to ZK-2183, but this time the image is available as a file: {noformat}2014-04-01 10:58:25,216 [Thread-3851] ERROR org.zkoss.log(): org.zkoss.zk.ui.UiException: javax.servlet.ServletException: Unable to encode images/menu/realvista_accounting_money_16.png at org.zkoss.zk.ui.http.ExecutionImpl.encodeURL(ExecutionImpl.java:328) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zul.impl.LabelImageElement.getEncodedImageURL(LabelImageElement.java:248) ~[zul-6.5.5.jar:6.5.5] at org.zkoss.zul.impl.LabelImageElement.renderProperties(LabelImageElement.java:272) ~[zul-6.5.5.jar:6.5.5] at org.zkoss.zul.Menuitem.renderProperties(Menuitem.java:311) ~[zul-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1807) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.impl.UiVisualizer.redraw(UiVisualizer.java:978) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.impl.UiVisualizer.redrawComponents(UiVisualizer.java:990) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.impl.UiVisualizer.addResponsesForCreatedPerSiblings(UiVisualizer.java:845) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.impl.UiVisualizer.getResponses(UiVisualizer.java:709) ~[zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.impl.UiEngineImpl.getResponses(UiEngineImpl.java:1420) [zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.impl.UiEngineImpl.endUpdate(UiEngineImpl.java:1126) [zk-6.5.5.jar:6.5.5] at org.zkoss.zkex.ui.comet.CometServerPush.deactivate(CometServerPush.java:419) [zkex-6.5.5.jar:na] at org.zkoss.zk.ui.impl.DesktopImpl.deactivateServerPush(DesktopImpl.java:1502) [zk-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.Executions.deactivate(Executions.java:980) [zk-6.5.5.jar:6.5.5] [...] Caused by: javax.servlet.ServletException: Unable to encode images/menu/realvista_accounting_money_16.png at org.zkoss.web.servlet.http.Encodes.encodeURL(Encodes.java:405) ~[zweb-6.5.5.jar:6.5.5] at org.zkoss.zk.ui.http.ExecutionImpl.encodeURL(ExecutionImpl.java:326) ~[zk-6.5.5.jar:6.5.5] ... 39 common frames omitted Caused by: java.lang.NullPointerException: null at org.apache.catalina.connector.Response.toAbsolute(Response.java:1676) ~[catalina.jar:7.0.52] at org.apache.catalina.connector.Response.encodeURL(Response.java:1220) ~[catalina.jar:7.0.52] at org.apache.catalina.connector.ResponseFacade.encodeURL(ResponseFacade.java:405) ~[catalina.jar:7.0.52] at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:75) ~[servlet-api.jar:na] at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:75) ~[servlet-api.jar:na] at org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper.encodeURL(SaveContextOnUpdateOrErrorResponseWrapper.java:181) ~[spring-security-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.zkoss.web.servlet.http.Encodes.encodeURL0(Encodes.java:513) ~[zweb-6.5.5.jar:6.5.5] at org.zkoss.web.servlet.http.Encodes.access$000(Encodes.java:47) ~[zweb-6.5.5.jar:6.5.5] at org.zkoss.web.servlet.http.Encodes$1.encodeURL(Encodes.java:429) ~[zweb-6.5.5.jar:6.5.5] at org.zkoss.web.servlet.http.Encodes.encodeURL(Encodes.java:402) ~[zweb-6.5.5.jar:6.5.5] ... 40 common frames omitted{noformat}

    ZK-Tracker | 3 years ago | CJahn
    org.zkoss.zk.ui.UiException: javax.servlet.ServletException: Unable to encode images/menu/realvista_accounting_money_16.png
  3. 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MVVM + Executions.createComponents = org.zkoss.zk.ui.UiException

    Google Groups | 3 years ago | Sergio Michels
    org.zkoss.zk.ui.UiException: can't find Page to resolve a view model class > :'package.MyViewModel' at [null, line:11, nearby column: 77]
  6. 0

    zk chart with JFreeChartEngine

    Stack Overflow | 2 months ago | skander
    org.zkoss.zk.ui.UiException: bundleresource...187/metainfo/zk/config.xml:29:12: Unable to load org.zkoss.zkex.init.WebAppInit

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.zkoss.zk.ui.UiException

      javax.servlet.ServletException: Unable to encode images/menu/realvista_accounting_money_16.png

      at org.zkoss.zk.ui.http.ExecutionImpl.encodeURL()
    2. ZK Kernel
      ExecutionImpl.encodeURL
      1. org.zkoss.zk.ui.http.ExecutionImpl.encodeURL(ExecutionImpl.java:328)[zk-6.5.5.jar:6.5.5]
      1 frame
    3. ZK XUL Components
      Menuitem.renderProperties
      1. org.zkoss.zul.impl.LabelImageElement.getEncodedImageURL(LabelImageElement.java:248)[zul-6.5.5.jar:6.5.5]
      2. org.zkoss.zul.impl.LabelImageElement.renderProperties(LabelImageElement.java:272)[zul-6.5.5.jar:6.5.5]
      3. org.zkoss.zul.Menuitem.renderProperties(Menuitem.java:311)[zul-6.5.5.jar:6.5.5]
      3 frames
    4. ZK Kernel
      UiEngineImpl.endUpdate
      1. org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1807)[zk-6.5.5.jar:6.5.5]
      2. org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884)[zk-6.5.5.jar:6.5.5]
      3. org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826)[zk-6.5.5.jar:6.5.5]
      4. org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884)[zk-6.5.5.jar:6.5.5]
      5. org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826)[zk-6.5.5.jar:6.5.5]
      6. org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884)[zk-6.5.5.jar:6.5.5]
      7. org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826)[zk-6.5.5.jar:6.5.5]
      8. org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884)[zk-6.5.5.jar:6.5.5]
      9. org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826)[zk-6.5.5.jar:6.5.5]
      10. org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884)[zk-6.5.5.jar:6.5.5]
      11. org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826)[zk-6.5.5.jar:6.5.5]
      12. org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884)[zk-6.5.5.jar:6.5.5]
      13. org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826)[zk-6.5.5.jar:6.5.5]
      14. org.zkoss.zk.ui.AbstractComponent.redrawChildren(AbstractComponent.java:1884)[zk-6.5.5.jar:6.5.5]
      15. org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1826)[zk-6.5.5.jar:6.5.5]
      16. org.zkoss.zk.ui.impl.UiVisualizer.redraw(UiVisualizer.java:978)[zk-6.5.5.jar:6.5.5]
      17. org.zkoss.zk.ui.impl.UiVisualizer.redrawComponents(UiVisualizer.java:990)[zk-6.5.5.jar:6.5.5]
      18. org.zkoss.zk.ui.impl.UiVisualizer.addResponsesForCreatedPerSiblings(UiVisualizer.java:845)[zk-6.5.5.jar:6.5.5]
      19. org.zkoss.zk.ui.impl.UiVisualizer.getResponses(UiVisualizer.java:709)[zk-6.5.5.jar:6.5.5]
      20. org.zkoss.zk.ui.impl.UiEngineImpl.getResponses(UiEngineImpl.java:1420)[zk-6.5.5.jar:6.5.5]
      21. org.zkoss.zk.ui.impl.UiEngineImpl.endUpdate(UiEngineImpl.java:1126)[zk-6.5.5.jar:6.5.5]
      21 frames
    5. org.zkoss.zkex
      CometServerPush.deactivate
      1. org.zkoss.zkex.ui.comet.CometServerPush.deactivate(CometServerPush.java:419)[zkex-6.5.5.jar:na]
      1 frame
    6. ZK Kernel
      Executions.deactivate
      1. org.zkoss.zk.ui.impl.DesktopImpl.deactivateServerPush(DesktopImpl.java:1502)[zk-6.5.5.jar:6.5.5]
      2. org.zkoss.zk.ui.Executions.deactivate(Executions.java:980)[zk-6.5.5.jar:6.5.5]
      2 frames