java.lang.IllegalArgumentException: URL path must start with a '/' or include '://'

grokbase.com | 3 months ago
  1. 0

    [MyFaces-users] graphicImage and root context in portal - Grokbase

    grokbase.com | 3 months ago
    java.lang.IllegalArgumentException: URL path must start with a '/' or include '://'
  2. 0

    Showcase-portlet -> AutocompleteEntry > Custom Facet The demo is functional, however there are server errors when typing a letter in the component. Also, the images are missing on the opening drop-down. 17:18:55,177 ERROR [BaseURLEncodedStringImpl:57] URL path must start with a '/' or include '://' java.lang.IllegalArgumentException: URL path must start with a '/' or include '://' at com.liferay.portlet.PortletResponseImpl.encodeURL(PortletResponseImpl.java:314) at com.liferay.faces.bridge.context.url.BaseURLEncodedStringImpl.toString(BaseURLEncodedStri ngImpl.java:54) at com.liferay.faces.bridge.context.url.BridgeURLBaseImpl.toString(BridgeURLBaseImpl.java:13 9) at com.liferay.faces.bridge.context.ExternalContextImpl.encodeResourceURL(ExternalContextImp l.java:153) at com.sun.faces.renderkit.RenderKitUtils.getImageSource(RenderKitUtils.java:1359) at com.sun.faces.renderkit.html_basic.ImageRenderer.encodeEnd(ImageRenderer.java:96) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:877) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.ja va:312) at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185) at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:847) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeParentAndChi ldren(AutoCompleteEntryRenderer.java:585) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.populateList(AutoC ompleteEntryRenderer.java:386) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeList(AutoCom pleteEntryRenderer.java:336) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeScript(AutoC ompleteEntryRenderer.java:326) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeBegin(AutoCo mpleteEntryRenderer.java:217) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:822) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.ja va:302) at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185) at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:847) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1819) at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:41) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:847) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.ja va:304) at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:105) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:847) at org.icefaces.ace.renderkit.CoreRenderer.renderChild(CoreRenderer.java:82) at org.icefaces.ace.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:70) at org.icefaces.ace.component.panel.PanelRenderer.encodeContent(PanelRenderer.java:257) at org.icefaces.ace.component.panel.PanelRenderer.encodeMarkup(PanelRenderer.java:137) at org.icefaces.ace.component.panel.PanelRenderer.encodeEnd(PanelRenderer.java:75) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:877) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.ja va:312) ..............

    ICEsoft JIRA Issue Tracker | 2 years ago | Carmen Cristurean
    java.lang.IllegalArgumentException: URL path must start with a '/' or include '://'
  3. 0

    Showcase-portlet -> AutocompleteEntry > Custom Facet The demo is functional, however there are server errors when typing a letter in the component. Also, the images are missing on the opening drop-down. 17:18:55,177 ERROR [BaseURLEncodedStringImpl:57] URL path must start with a '/' or include '://' java.lang.IllegalArgumentException: URL path must start with a '/' or include '://' at com.liferay.portlet.PortletResponseImpl.encodeURL(PortletResponseImpl.java:314) at com.liferay.faces.bridge.context.url.BaseURLEncodedStringImpl.toString(BaseURLEncodedStri ngImpl.java:54) at com.liferay.faces.bridge.context.url.BridgeURLBaseImpl.toString(BridgeURLBaseImpl.java:13 9) at com.liferay.faces.bridge.context.ExternalContextImpl.encodeResourceURL(ExternalContextImp l.java:153) at com.sun.faces.renderkit.RenderKitUtils.getImageSource(RenderKitUtils.java:1359) at com.sun.faces.renderkit.html_basic.ImageRenderer.encodeEnd(ImageRenderer.java:96) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:877) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.ja va:312) at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185) at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:847) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeParentAndChi ldren(AutoCompleteEntryRenderer.java:585) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.populateList(AutoC ompleteEntryRenderer.java:386) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeList(AutoCom pleteEntryRenderer.java:336) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeScript(AutoC ompleteEntryRenderer.java:326) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeBegin(AutoCo mpleteEntryRenderer.java:217) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:822) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.ja va:302) at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185) at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:847) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1819) at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:41) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:847) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.ja va:304) at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:105) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:847) at org.icefaces.ace.renderkit.CoreRenderer.renderChild(CoreRenderer.java:82) at org.icefaces.ace.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:70) at org.icefaces.ace.component.panel.PanelRenderer.encodeContent(PanelRenderer.java:257) at org.icefaces.ace.component.panel.PanelRenderer.encodeMarkup(PanelRenderer.java:137) at org.icefaces.ace.component.panel.PanelRenderer.encodeEnd(PanelRenderer.java:75) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:877) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.ja va:312) ..............

    ICEsoft JIRA Issue Tracker | 2 years ago | Carmen Cristurean
    java.lang.IllegalArgumentException: URL path must start with a '/' or include '://'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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. java.lang.IllegalArgumentException

      URL path must start with a '/' or include '://'

      at com.liferay.portlet.RenderResponseImpl.encodeURL()
    2. Liferay Portal Service
      RenderResponseImpl.encodeURL
      1. com.liferay.portlet.RenderResponseImpl.encodeURL(RenderResponseImpl.java:119)
      1 frame
    3. Impl
      HtmlImageRendererBase.encodeEnd
      1. org.apache.myfaces.context.portlet.PortletExternalContextImpl.encodeResourceURL(PortletExternalContextImpl.java:197)
      2. org.apache.myfaces.renderkit.html.HtmlImageRendererBase.encodeEnd(HtmlImageRendererBase.java:69)
      2 frames