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

NPE on quota update when performed with null user

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • mailbox

    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

              Unassigned Unassigned
              btellier Benoit Tellier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: