org.zkoss.zk.ui.UiException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by CJahn,
  • 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}
    via by CJahn,
    • 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]
    No Bugmate found.