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

grokbase.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

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

    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