Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1840

NPE on quota update when performed with null user

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mailbox
    • Labels:

      Description

      When using a null user on a mailbox path...

      java.lang.NullPointerException: null
      	at
      DefaultQuotaRootResolver.getQuotaRoot(DefaultQuotaRootResolver.java:58)
      	at
      ListeningCurrentQuotaUpdater.event(ListeningCurrentQuotaUpdater.java:59)
      	at createMailbox(StoreMailboxManager.java:474)
      

      Answer DefaultQuotaRootResolver accepts mailboxPaths with null users. Also add test cases regarding this in DefaultQuotaRootResolverTest.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                BTellier Tellier Benoit
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: