ICEfaces
  1. ICEfaces
  2. ICE-10597

showcase-portlet - AutoCompleteEntry Custom Facet errors

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.0.0.GA
    • Fix Version/s: EE-4.0.0.GA
    • Component/s: ACE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      Jenkins EE-4.0 Build# 2
      Browsers: IE11, FF34
      Server: Liferay 6.2 w/ Tomcat 7.0.42
    • Assignee Priority:
      P1

      Description

      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)




        Activity

        Hide
        Arturo Zambrano added a comment -

        Committed fix to the 4.0 trunk at revision 44343 and to the 4.0 EE tag at revision 44344. Modified the autocomplete facte demo to use a portlet-friendly URL, in the same way as other demos do.

        Show
        Arturo Zambrano added a comment - Committed fix to the 4.0 trunk at revision 44343 and to the 4.0 EE tag at revision 44344. Modified the autocomplete facte demo to use a portlet-friendly URL, in the same way as other demos do.
        Hide
        Carmen Cristurean added a comment -

        Verified with EE-4.0 r44347 in IE11, Chrome41, FF34.

        Show
        Carmen Cristurean added a comment - Verified with EE-4.0 r44347 in IE11, Chrome41, FF34.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: