ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-452

NPE in Poll application upon shutdown when messagingEnabled is set to false

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EE-3.3.0.GA
    • Component/s: Samples
    • Labels:
      None
    • Environment:
      ICEfaces-EE, Poll, no JMS

      Description

      A NullPointerException is thrown in the Poll application upon shutdown when the com.icesoft.faces.demo.poll.messagingEnabled context parameter is set to false. This seems to be due to the pollMessageService being null in this case.

        Activity

        Jack Van Ooststroom created issue -
        Jack Van Ooststroom made changes -
        Field Original Value New Value
        Assignee Ken Fyten [ ken.fyten ] Jack Van Ooststroom [ jack.van.ooststroom ]
        Jack Van Ooststroom made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Jack Van Ooststroom added a comment -

        Sending src/main/java/com/icesoft/faces/demo/poll/PollCollection.java
        Transmitting file data .
        Committed revision 34761.

        Show
        Jack Van Ooststroom added a comment - Sending src/main/java/com/icesoft/faces/demo/poll/PollCollection.java Transmitting file data . Committed revision 34761.
        Jack Van Ooststroom made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        Hide
        Jack Van Ooststroom added a comment -

        The tearDownMessageService() method now does 2 null checks: 1 for pollMessageService and one for executor. Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - The tearDownMessageService() method now does 2 null checks: 1 for pollMessageService and one for executor. Marking this one as FIXED.
        Jack Van Ooststroom made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Jack Van Ooststroom
            Reporter:
            Jack Van Ooststroom
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: