ICEfaces
  1. ICEfaces
  2. ICE-3614

GroupAsyncRenderer throws NullPointerException when constructed via a non JSF thread

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1, 1.7.2
    • Fix Version/s: 1.7.2 SP1, 1.8DR#2, 1.8
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Ajax Push

      Description

      The code where this occurs is the constructor for GroupAsyncRenderer:

      public GroupAsyncRenderer() {
        applicationMap = FacesContext.getCurrentInstance().getExternalContext().getApplicationMap();
      }

      The applicationMap is only required to retrieve the ServletContext under certain circumstances when using the SessionRenderer. We need to refactor to ensure that the map is retrieved as lazily and reduntantly as possible, and only in situations when actually required.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17817 Thu Oct 23 14:26:53 MDT 2008 jack.van.ooststroom Fixed JIRA ICE-3614 : GroupAsyncRenderer throws NullPointerException when constructed via a non JSF thread
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/async/render/GroupAsyncRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17784 Fri Oct 17 09:54:35 MDT 2008 jack.van.ooststroom Fixed JIRA ICE-3614 : GroupAsyncRenderer throws NullPointerException when constructed via a non JSF thread
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/async/render/GroupAsyncRenderer.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: