ICEfaces
  1. ICEfaces
  2. ICE-7718

ICEfaces 3 ACE portlets not working on Liferay 5

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0.1, EE-3.0.0.GA
    • Labels:
      None
    • Environment:
      ICEfaces 3 ACE Liferay 5 portlet portal

      Description

      Following up with the issues posted in the forum reference. Tried running both ACE and Compat showcases in Liferay 5.2.3 which weeded out a few issues:

      1) There are some NullPointerExceptions coming from the ResourceRegistry that are related to path returning null. Some simple checking for null seems to suffice here.

      2) There following gets logged fairly frequently:

      21:30:51,635 ERROR [PortletResponseImpl:320]
      21:41:06,424 ERROR [PortletResponseImpl:327]

      It's a known issue from this particular version of Liferay and was fixed in future versions: http://issues.liferay.com/browse/LPS-10244

      3) There appears to be a jQuery conflict so that when an ICEfaces portlet (ACE) is loaded, the Liferay UI ends up being disabled. A separate JIRA has been opened for that issue: http://jira.icefaces.org/browse/ICE-7717.

      There are still a few other issues that we continue to work through. I'll add to this case as warranted.

        Issue Links

          Activity

          Deryk Sinotte created issue -
          Deryk Sinotte made changes -
          Field Original Value New Value
          Assignee Deryk Sinotte [ deryk.sinotte ]
          Ken Fyten made changes -
          Summary ICEfaces 3 portlets not working on Liferay 5 ICEfaces 3 ACE portlets not working on Liferay 5
          Environment ICEfaces 3 ACE Compat Liferay 5 portlet portal ICEfaces 3 ACE Liferay 5 portlet portal
          Salesforce Case []
          Ken Fyten made changes -
          Salesforce Case []
          Affects [Compatibility/Configuration]
          Ken Fyten made changes -
          Salesforce Case []
          Security Private [ 10001 ]
          Hide
          Deryk Sinotte added a comment -

          For issue number 1) the specific stack trace is this:

          Caused by: java.lang.NullPointerException
          at org.icefaces.application.ResourceRegistry.extractResourceId(ResourceRegistry.java:198)
          at org.icefaces.application.ResourceRegistry.handleResourceRequest(ResourceRegistry.java:74)
          at org.icefaces.impl.application.WindowScopeManager.handleSessionAwareResourceRequest(WindowScopeManager.java:68)
          at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40)
          at org.icefaces.impl.application.SessionTimeoutMonitor.handleSessionAwareResourceRequest(SessionTimeoutMonitor.java:71)
          at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125)
          at org.icefaces.impl.application.AuxUploadResourceHandler.handleResourceRequest(AuxUploadResourceHandler.java:76)
          at org.portletfaces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:508)

          There appears to be a need for a null check in the extractResourceId() method when we are getting the path.

          Show
          Deryk Sinotte added a comment - For issue number 1) the specific stack trace is this: Caused by: java.lang.NullPointerException at org.icefaces.application.ResourceRegistry.extractResourceId(ResourceRegistry.java:198) at org.icefaces.application.ResourceRegistry.handleResourceRequest(ResourceRegistry.java:74) at org.icefaces.impl.application.WindowScopeManager.handleSessionAwareResourceRequest(WindowScopeManager.java:68) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40) at org.icefaces.impl.application.SessionTimeoutMonitor.handleSessionAwareResourceRequest(SessionTimeoutMonitor.java:71) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:125) at org.icefaces.impl.application.AuxUploadResourceHandler.handleResourceRequest(AuxUploadResourceHandler.java:76) at org.portletfaces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:508) There appears to be a need for a null check in the extractResourceId() method when we are getting the path.
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #27628 Thu Feb 02 17:17:50 MST 2012 deryk.sinotte ICE-7718: check for null when getting path
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/application/ResourceRegistry.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #27630 Thu Feb 02 17:42:47 MST 2012 deryk.sinotte ICE-7718: check for null when getting path
          Files Changed
          Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/core/src/main/java/org/icefaces/application/ResourceRegistry.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #27643 Fri Feb 03 12:18:55 MST 2012 ken.fyten ICE-7718: check for null when getting path
          Files Changed
          Commit graph MODIFY /icefaces3/tags/icefaces-3.0.0/icefaces/core/src/main/java/org/icefaces/application/ResourceRegistry.java
          Hide
          Deryk Sinotte added a comment -

          Linking this parent case to the JIRA where the jQuery issue was specifically handled.

          Show
          Deryk Sinotte added a comment - Linking this parent case to the JIRA where the jQuery issue was specifically handled.
          Deryk Sinotte made changes -
          Link This issue depends on ICE-7717 [ ICE-7717 ]
          Ken Fyten made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 3.0.1 [ 10282 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: