You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2017/09/22 07:17:00 UTC
[jira] [Updated] (JAMES-1840) NPE on quota update when performed
with null user
[ https://issues.apache.org/jira/browse/JAMES-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tellier Benoit updated JAMES-1840:
----------------------------------
Description:
When using a null user on a mailbox path...
{code:java}
java.lang.NullPointerException: null
at
DefaultQuotaRootResolver.getQuotaRoot(DefaultQuotaRootResolver.java:58)
at
ListeningCurrentQuotaUpdater.event(ListeningCurrentQuotaUpdater.java:59)
at createMailbox(StoreMailboxManager.java:474)
{code}
Answer *DefaultQuotaRootResolver* accepts mailboxPaths with null users. Also add test cases regarding this in *DefaultQuotaRootResolverTest*.
was:
java.lang.NullPointerException: null
at
DefaultQuotaRootResolver.getQuotaRoot(DefaultQuotaRootResolver.java:58)
at
ListeningCurrentQuotaUpdater.event(ListeningCurrentQuotaUpdater.java:59)
at createMailbox(StoreMailboxManager.java:474)
> NPE on quota update when performed with null user
> -------------------------------------------------
>
> Key: JAMES-1840
> URL: https://issues.apache.org/jira/browse/JAMES-1840
> Project: James Server
> Issue Type: Bug
> Components: mailbox
> Reporter: Tellier Benoit
> Labels: easyfix
>
> When using a null user on a mailbox path...
> {code:java}
> java.lang.NullPointerException: null
> at
> DefaultQuotaRootResolver.getQuotaRoot(DefaultQuotaRootResolver.java:58)
> at
> ListeningCurrentQuotaUpdater.event(ListeningCurrentQuotaUpdater.java:59)
> at createMailbox(StoreMailboxManager.java:474)
> {code}
> Answer *DefaultQuotaRootResolver* accepts mailboxPaths with null users. Also add test cases regarding this in *DefaultQuotaRootResolverTest*.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org