Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-1631

Deleting a Roster Item causes a NPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.3
    • Fix Version/s: 4.3.0
    • Component/s: Admin Console
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Create a roster item for a user; Users -> [username] -> Roster -> "Add new item"
      2. On the newly created item, click the "Delete" icon

      Expected results:

      • The roster item is deleted

      Actual results:

      • The roster item is deleted
      • TheĀ  admin UI reports a NPE;

      java.lang.NullPointerException: Null value is not allowed!

      at org.jivesoftware.util.cache.DefaultCache.checkNotNull(DefaultCache.java:737)

      at org.jivesoftware.util.cache.DefaultCache.put(DefaultCache.java:148)

      at org.jivesoftware.util.cache.DefaultCache.put(DefaultCache.java:62

      )at org.jivesoftware.util.cache.CacheWrapper.put(CacheWrapper.java:147)

      at org.jivesoftware.util.cache.CacheWrapper.put(CacheWrapper.java:29)

      at org.jivesoftware.openfire.pep.PEPServiceManager.getPEPService(PEPServiceManager.java:94)

      at org.jivesoftware.openfire.pep.IQPEPHandler.cancelSubscriptionToPEPService(IQPEPHandler.java:503)

      at org.jivesoftware.openfire.pep.IQPEPHandler.contactDeleted(IQPEPHandler.java:600)

      at org.jivesoftware.openfire.roster.RosterEventDispatcher.contactDeleted(RosterEventDispatcher.java:134)

      at org.jivesoftware.openfire.roster.Roster.deleteRosterItem(Roster.java:472)

      at org.jivesoftware.openfire.admin.user_002droster_002ddelete_jsp._jspService(user_002droster_002ddelete_jsp.java:178)

        Attachments

          Activity

            People

            Assignee:
            gdt Greg Thomas
            Reporter:
            gdt Greg Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: