ICEpush
  1. ICEpush
  2. PUSH-422

NPE in Notification's equals(...) due to possible pushConfiguration being null

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: EE-4.2.0.GA
    • Component/s: Push Library
    • Labels:
      None
    • Environment:
      ICEpush

      Description

      When a pushConfiguration is not specified when a Notification is instantiated an invocation to its equals(...) method can lead to an NPE.

        Activity

        Jack Van Ooststroom created issue -
        Hide
        Jack Van Ooststroom added a comment -

        Sending icepush-ee/core/src/main/java/org/icepush/LocalPushGroupManager.java
        Transmitting file data .
        Committed revision 51371.

        Show
        Jack Van Ooststroom added a comment - Sending icepush-ee/core/src/main/java/org/icepush/LocalPushGroupManager.java Transmitting file data . Committed revision 51371.
        Hide
        Jack Van Ooststroom added a comment -

        Added a guard for null. If both source and target are null equals results in true for this class member, otherwise if source is not null and source equals target the result is true as well. Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - Added a guard for null. If both source and target are null equals results in true for this class member, otherwise if source is not null and source equals target the result is true as well. Marking this one as FIXED.
        Jack Van Ooststroom made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s EE-4.2.0.GA [ 13074 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #51371 Wed Mar 22 10:55:22 MDT 2017 jack.van.ooststroom Fixed JIRA PUSH-422 : NPE in Notification's equals(...) due to possible pushConfiguration being null
        Files Changed
        Commit graph MODIFY /icepush/branches/icepush-core-4.x-maintenance/icepush/core/src/main/java/org/icepush/LocalPushGroupManager.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: