java.lang.IllegalArgumentException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web13662

  • via ICEsoft JIRA Issue Tracker by Carmen Cristurean, 1 year ago
    URL path must start with a '/' or include '://'
  • URL path must start with a '/' or include '://'
  • via ICEsoft JIRA Issue Tracker by Carmen Cristurean, 1 year ago
    URL path must start with a '/' or include '://'
  • Stack trace

    • 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(BaseURLEncodedStringImpl.java:54) at com.liferay.faces.bridge.context.url.BridgeURLBaseImpl.toString(BridgeURLBaseImpl.java:139) at com.liferay.faces.bridge.context.ExternalContextImpl.encodeResourceURL(ExternalContextImpl.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.java: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.encodeParentAndChildren(AutoCompleteEntryRenderer.java:585) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.populateList(AutoCompleteEntryRenderer.java:386) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeList(AutoCompleteEntryRenderer.java:336) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeScript(AutoCompleteEntryRenderer.java:326) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeBegin(AutoCompleteEntryRenderer.java:217) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:822) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java: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.java: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.java:312)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 10 months ago