ICEfaces
  1. ICEfaces
  2. ICE-8539

ACE File Entry components fail on Liferay 5.x

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.0.0.GA, EE-3.0.0.GA_P01
    • Fix Version/s: 3.3
    • Component/s: ACE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      Liferay 5.x Portal Portlet ACE File Entry Component
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      In testing the showcase-portlet examples on Liferay (version 5.2.3 only, not on versions 6.0 or 6.1), the following behaviour was observed. It exists in the EE-3.0.0.GA release as well as on the current maintenance branch.

      When running any of the File Entry examples, after selecting a file and clicking the "Send File" button, the operation fails and the following exception is thrown:

      Sep 5, 2012 9:06:16 PM org.icefaces.impl.application.ExtendedExceptionHandler handle
      WARNING: queued exception
      java.lang.IllegalArgumentException: null source
      at java.util.EventObject.<init>(EventObject.java:38)
      at javax.faces.event.SystemEvent.<init>(SystemEvent.java:71)
      at javax.faces.event.ComponentSystemEvent.<init>(ComponentSystemEvent.java:73)
      at javax.faces.event.PostRestoreStateEvent.<init>(PostRestoreStateEvent.java:73)
      at com.sun.faces.lifecycle.RestoreViewPhase.deliverPostRestoreStateEvent(RestoreViewPhase.java:271)
      at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:257)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
      at org.portletfaces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:524)
      at org.portletfaces.bridge.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:131)
      at com.sun.portal.portletcontainer.appengine.filter.FilterChainImpl.doFilter(FilterChainImpl.java:177)
      at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:76)
      at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:100)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

        Issue Links

          Activity

          Deryk Sinotte created issue -
          Deryk Sinotte made changes -
          Field Original Value New Value
          Summary ACE ACE File Entry components fail on Liferay 5.x
          Salesforce Case []
          Fix Version/s EE-3.0.0.GA_P01 [ 10327 ]
          Assignee Mark Collette [ mark.collette ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 3.2 [ 10338 ]
          Fix Version/s EE-3.0.0.GA_P01 [ 10327 ]
          Assignee Priority P2
          Migration made changes -
          Assignee Priority P2 [ 10011 ] P3 [ 10012 ]
          Ken Fyten made changes -
          Fix Version/s 3.3 [ 10370 ]
          Fix Version/s 3.2 [ 10338 ]
          Ken Fyten made changes -
          Assignee Priority P3 [ 10012 ] P2 [ 10011 ]
          Ken Fyten made changes -
          Assignee Priority P2 [ 10011 ] P1 [ 10010 ]
          Hide
          Deryk Sinotte added a comment -

          In the latest testing for the 3.2 EE release, the fileEntry component doesn't work on Liferay 5 or Liferay 6.1.1. Each time the "Send File" button is clicked, the result is a "Session Expired" dialog. This is a different error than was originally reported in this case.

          Show
          Deryk Sinotte added a comment - In the latest testing for the 3.2 EE release, the fileEntry component doesn't work on Liferay 5 or Liferay 6.1.1. Each time the "Send File" button is clicked, the result is a "Session Expired" dialog. This is a different error than was originally reported in this case.
          Hide
          Deryk Sinotte added a comment -

          That last comment is not quite correct. It still fails on Liferay 5.2.3 with the Session Expired message but does not fail on Liferay 6.1 unless the old PortletFaces Bridge is used. If the new LiferayFaces Bridge is used, file entry works.

          Show
          Deryk Sinotte added a comment - That last comment is not quite correct. It still fails on Liferay 5.2.3 with the Session Expired message but does not fail on Liferay 6.1 unless the old PortletFaces Bridge is used. If the new LiferayFaces Bridge is used, file entry works.
          Hide
          Mark Collette added a comment -

          I get an error no matter which ACE component portlet I use, not just fileEntry.

          Show
          Mark Collette added a comment - I get an error no matter which ACE component portlet I use, not just fileEntry.
          Hide
          Deryk Sinotte added a comment -

          Which error? The IllegalArgumentException or something else?

          If you are referring to something like this:

          19:04:05,416 ERROR [PortletResponseImpl:327]

          I believe that can be safely ignored as a known logging issue with Liferay 5.2.x.

          Show
          Deryk Sinotte added a comment - Which error? The IllegalArgumentException or something else? If you are referring to something like this: 19:04:05,416 ERROR [PortletResponseImpl:327] I believe that can be safely ignored as a known logging issue with Liferay 5.2.x.
          Hide
          Mark Collette added a comment -

          The page shows the "Server Internal Error" popup, and Firebug is showing that it's a NPE. No stack trace in the server log though.

          Show
          Mark Collette added a comment - The page shows the "Server Internal Error" popup, and Firebug is showing that it's a NPE. No stack trace in the server log though.
          Hide
          Mark Collette added a comment -

          After setting it to Development stage, I can see from the exception that this is actually the regression from ICE-8131, so I'll switch to using MyFaces and see what I get.

          Show
          Mark Collette added a comment - After setting it to Development stage, I can see from the exception that this is actually the regression from ICE-8131 , so I'll switch to using MyFaces and see what I get.
          Hide
          Deryk Sinotte added a comment -

          I just tested 3.2 EE build 10 and only see the issue with FileEntry using the old PortletFaces bridge (the default) and Mojarra 2.1.6. I have 30 other portlets that work don't exhibit this problem.

          Show
          Deryk Sinotte added a comment - I just tested 3.2 EE build 10 and only see the issue with FileEntry using the old PortletFaces bridge (the default) and Mojarra 2.1.6. I have 30 other portlets that work don't exhibit this problem.
          Hide
          Mark Collette added a comment -

          I'm running trunk. Now with MyFaces 2.1.10, using any ACE component (haven't even added fileEntry), I get this exception:

          org.portletfaces.bridge.BridgeException: java.lang.IllegalArgumentException: text/xml
          org.portletfaces.bridge.BridgeException: java.lang.IllegalArgumentException: text/xml
          at org.portletfaces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:547)
          at org.portletfaces.bridge.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:131)
          at com.sun.portal.portletcontainer.appengine.filter.FilterChainImpl.doFilter(FilterChainImpl.java:177)
          at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:76)
          at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:100)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
          at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:615)
          at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:724)
          at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:498)
          at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:672)
          at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:459)
          at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:195)
          at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
          at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
          at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:157)
          at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
          at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
          at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:608)
          at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:846)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
          at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:143)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
          at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:178)
          at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
          at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
          at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:149)
          at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
          at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:282)
          at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
          at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
          at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:425)
          at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
          at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:257)
          at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
          at com.liferay.portal.servlet.filters.sso.opensso.OpenSSOFilter.processFilter(OpenSSOFilter.java:73)
          at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
          at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:193)
          at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
          at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:191)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
          at com.liferay.portal.servlet.filters.threadlocalcache.ThreadLocalCacheFilter.processFilter(ThreadLocalCacheFilter.java:55)
          at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
          at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
          at java.lang.Thread.run(Thread.java:680)
          Caused by: java.lang.IllegalArgumentException: text/xml
          at org.apache.myfaces.renderkit.html.HtmlRenderKitImpl.createResponseWriter(HtmlRenderKitImpl.java:316)
          at org.portletfaces.bridge.renderkit.html_basic.RenderKitBridgeImpl.createResponseWriter(RenderKitBridgeImpl.java:45)
          at org.icefaces.impl.renderkit.DOMRenderKit.createResponseWriter(DOMRenderKit.java:152)
          at com.sun.faces.context.PartialViewContextImpl.createPartialResponseWriter(PartialViewContextImpl.java:441)
          at com.sun.faces.context.PartialViewContextImpl.access$300(PartialViewContextImpl.java:71)
          at com.sun.faces.context.PartialViewContextImpl$DelayedInitPartialResponseWriter.getWrapped(PartialViewContextImpl.java:582)
          at javax.faces.context.PartialResponseWriter.startDocument(PartialResponseWriter.java:115)
          at org.icefaces.ace.context.CallbackPartialResponseWriter.startDocument(CallbackPartialResponseWriter.java:115)
          at com.sun.faces.context.AjaxExceptionHandlerImpl.handlePartialResponseError(AjaxExceptionHandlerImpl.java:199)
          at com.sun.faces.context.AjaxExceptionHandlerImpl.handle(AjaxExceptionHandlerImpl.java:123)
          at org.icefaces.impl.application.ExtendedExceptionHandler.handle(ExtendedExceptionHandler.java:113)
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)
          at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
          at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
          at org.portletfaces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:524)
          ... 106 more

          Show
          Mark Collette added a comment - I'm running trunk. Now with MyFaces 2.1.10, using any ACE component (haven't even added fileEntry), I get this exception: org.portletfaces.bridge.BridgeException: java.lang.IllegalArgumentException: text/xml org.portletfaces.bridge.BridgeException: java.lang.IllegalArgumentException: text/xml at org.portletfaces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:547) at org.portletfaces.bridge.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:131) at com.sun.portal.portletcontainer.appengine.filter.FilterChainImpl.doFilter(FilterChainImpl.java:177) at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:76) at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:100) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:615) at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:724) at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:498) at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:672) at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:459) at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:195) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:157) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:608) at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:846) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:143) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154) at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:178) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154) at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:149) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154) at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:282) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154) at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:425) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154) at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:257) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154) at com.liferay.portal.servlet.filters.sso.opensso.OpenSSOFilter.processFilter(OpenSSOFilter.java:73) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154) at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:193) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154) at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:191) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154) at com.liferay.portal.servlet.filters.threadlocalcache.ThreadLocalCacheFilter.processFilter(ThreadLocalCacheFilter.java:55) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154) at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.IllegalArgumentException: text/xml at org.apache.myfaces.renderkit.html.HtmlRenderKitImpl.createResponseWriter(HtmlRenderKitImpl.java:316) at org.portletfaces.bridge.renderkit.html_basic.RenderKitBridgeImpl.createResponseWriter(RenderKitBridgeImpl.java:45) at org.icefaces.impl.renderkit.DOMRenderKit.createResponseWriter(DOMRenderKit.java:152) at com.sun.faces.context.PartialViewContextImpl.createPartialResponseWriter(PartialViewContextImpl.java:441) at com.sun.faces.context.PartialViewContextImpl.access$300(PartialViewContextImpl.java:71) at com.sun.faces.context.PartialViewContextImpl$DelayedInitPartialResponseWriter.getWrapped(PartialViewContextImpl.java:582) at javax.faces.context.PartialResponseWriter.startDocument(PartialResponseWriter.java:115) at org.icefaces.ace.context.CallbackPartialResponseWriter.startDocument(CallbackPartialResponseWriter.java:115) at com.sun.faces.context.AjaxExceptionHandlerImpl.handlePartialResponseError(AjaxExceptionHandlerImpl.java:199) at com.sun.faces.context.AjaxExceptionHandlerImpl.handle(AjaxExceptionHandlerImpl.java:123) at org.icefaces.impl.application.ExtendedExceptionHandler.handle(ExtendedExceptionHandler.java:113) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119) at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at org.portletfaces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:524) ... 106 more
          Hide
          Mark Collette added a comment -

          This is with liferay-portal-tomcat-6.0-5.2.3

          Show
          Mark Collette added a comment - This is with liferay-portal-tomcat-6.0-5.2.3
          Hide
          Mark Collette added a comment -

          It appears that the form is not being converted to being multipart, due to the script that does that being put into the browser DOM within a CDATA section:

          <span id="A2497:example-form:_captureFileOnsubmit"><script type="text/javascript">/<![CDATA[*/ice.ace.fileentry.captureFormOnsubmit("A2497:example-form","A2497:example-form:hiddenIframe","null","http://localhost:8080/web/guest/ace10?_fileEntry_WAR_showcaseportlet_javax.faces.resource=org.icefaces.ace.component.fileentry.progress.A2497:example-form::vyjxzlo1.txt&p_p_col_count=1&p_p_col_id=column-1&p_p_id=fileEntry_WAR_showcaseportlet&p_p_lifecycle=2");/*]]>/</script></span>

          Show
          Mark Collette added a comment - It appears that the form is not being converted to being multipart, due to the script that does that being put into the browser DOM within a CDATA section: <span id="A2497:example-form:_captureFileOnsubmit"><script type="text/javascript">/ <![CDATA [*/ice.ace.fileentry.captureFormOnsubmit("A2497:example-form","A2497:example-form:hiddenIframe","null","http://localhost:8080/web/guest/ace10?_fileEntry_WAR_showcaseportlet_javax.faces.resource=org.icefaces.ace.component.fileentry.progress.A2497:example-form::vyjxzlo1.txt&p_p_col_count=1&p_p_col_id=column-1&p_p_id=fileEntry_WAR_showcaseportlet&p_p_lifecycle=2");/*] ]> /</script></span>
          Hide
          Mark Collette added a comment -

          No, that's commented out with a javascript block comment, and I can see all the other script done like that, and working.

          Show
          Mark Collette added a comment - No, that's commented out with a javascript block comment, and I can see all the other script done like that, and working.
          Ken Fyten made changes -
          Fix Version/s EE-3.2.0.GA [ 10332 ]
          Affects Documentation (User Guide, Ref. Guide, etc.),Compatibility/Configuration [ 10003, 10002 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #33397 Tue Feb 12 19:36:12 MST 2013 mark.collette ICE-8539 : ACE File Entry components fail on Liferay 5.x
          Files Changed
          Commit graph ADD /icefaces3/trunk/icefaces/lib/portlets/portletfaces/portletfaces-bridge-2.0.2-ice-8986.jar
          Commit graph DEL /icefaces3/trunk/icefaces/lib/portlets/portletfaces/portletfaces-bridge-2.0.2-ice-7875.jar
          Mark Collette made changes -
          Link This issue blocks ICE-8986 [ ICE-8986 ]
          Hide
          Mark Collette added a comment -

          The issue ended up in being in the portlet faces bridge's ExternalContextImpl, which uses the response contentType when queried for the request contentType, so it wouldn't report that it was multipart. I tried to selectively alter this to only change it for uploading multipart forms, to show the ResourceRequest's contentType.

          Show
          Mark Collette added a comment - The issue ended up in being in the portlet faces bridge's ExternalContextImpl, which uses the response contentType when queried for the request contentType, so it wouldn't report that it was multipart. I tried to selectively alter this to only change it for uploading multipart forms, to show the ResourceRequest's contentType.
          Mark Collette made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s EE-3.2.0.GA [ 10332 ]
          Resolution Fixed [ 1 ]
          Hide
          Mark Collette added a comment - - edited

          The portletfacesbridge jar is named after the parent umbrella task of ICE-8986, since it encompasses fixes beyond just this jira. Replace icefaces3/lib/portlets/portletfaces/portletfaces-bridge-2.0.2-ice-7875.jar with icefaces3/lib/portlets/portletfaces/portletfaces-bridge-2.0.2-ice-8986.jar

          icefaces3 trunk
          Subversion 33397

          Show
          Mark Collette added a comment - - edited The portletfacesbridge jar is named after the parent umbrella task of ICE-8986 , since it encompasses fixes beyond just this jira. Replace icefaces3/lib/portlets/portletfaces/portletfaces-bridge-2.0.2-ice-7875.jar with icefaces3/lib/portlets/portletfaces/portletfaces-bridge-2.0.2-ice-8986.jar icefaces3 trunk Subversion 33397
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Mark Collette
              Reporter:
              Deryk Sinotte
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: