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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: