ICEfaces
  1. ICEfaces
  2. ICE-2815

GroupAsyncRenderer throws NullPointerException during dispose

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7Beta1
    • Fix Version/s: 1.7RC1, 1.7
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Any

      Description

      The GroupAsyncRenderer can throw a NullPointerException when DisposableBeans are used. This occurs when multiple beans are using the same renderer (e.g. clock) and the first call to dispose causes the internal reference to the RenderManager to be set to null. Subsequent calls to dispose of the renderer by DisposableBeans will cause the NPE.

        Activity

        Hide
        Deryk Sinotte added a comment -

        I've removed the statement that sets the renderManager reference to null in GroupAsyncRenderer.dispose. There's not really a strict need to do this and subsequent dispose() calls should do the right thing. Resolving as fixed.

        Show
        Deryk Sinotte added a comment - I've removed the statement that sets the renderManager reference to null in GroupAsyncRenderer.dispose. There's not really a strict need to do this and subsequent dispose() calls should do the right thing. Resolving as fixed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: