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

grokbase.com | 5 months ago
  1. 0

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

    grokbase.com | 5 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

  5. 0

    showcase-portlet: AutoComplete Custom Facet In IE11 and Firefox34, NPE and other errors are seen in server terminal window when typing a character in the autocomplete entry; also, in IE11 when the autoCompleteEntry component opens up, there are missing files, see screen shot. The server errors cannot be found in server logs. > In FF34, there is a browser console error: > "NetworkError: 404 Not Found - http://localhost:8080/web/guest/resources/css/images/house.png” Server errors: 20:02:04,188 ERROR [http-bio-8080-exec-29][LiferayMethodExceptionEventHandler:34] java.lang.NullPointerException java.lang.NullPointerException at java.io.Writer.write(Writer.java:157) at com.liferay.portal.kernel.util.StringBundler.writeTo(StringBundler.java:310) at org.apache.jsp.html.common.themes.top_005fhead_jsp._jspService(top_005fhead_jsp.java:2052) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57) at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78) at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53) at com.liferay.taglib.util.VelocityTaglibImpl.include(VelocityTaglibImpl.java:643) at sun.reflect.GeneratedMethodAccessor319.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) ……………… 16:55:51,016 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:138) at com.sun.faces.renderkit.RenderKitUtils.getImageSource(RenderKitUtils.java:1407) at com.sun.faces.renderkit.html_basic.ImageRenderer.encodeEnd(ImageRenderer.java:96) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919) 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:889) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeParentAndChi ldren(AutoCompleteEntryRenderer.java:606) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.populateList(AutoC ompleteEntryRenderer.java:407) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeList(AutoCom pleteEntryRenderer.java:357) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeScript(AutoC ompleteEntryRenderer.java:347) at org.icefaces.ace.component.autocompleteentry.AutoCompleteEntryRenderer.encodeBegin(AutoCo mpleteEntryRenderer.java:233) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:864) 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:889) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1856) at javax.faces.render.Renderer.encodeChildren(Renderer.java:176) at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.ja va:304) at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:114)

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

    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