james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-1840) NPE on quota update when performed with null user
Date Fri, 08 Jun 2018 02:49:00 GMT

    [ https://issues.apache.org/jira/browse/JAMES-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505630#comment-16505630
] 

ASF GitHub Bot commented on JAMES-1840:
---------------------------------------

Github user chibenwa commented on a diff in the pull request:

    https://github.com/apache/james-project/pull/117#discussion_r193940607
  
    --- Diff: dockerfiles/run/docker-compose.yml ---
    @@ -7,17 +7,17 @@ services:
           - elasticsearch
           - cassandra
         entrypoint: bash -c "java -Dworking.directory=/root/ -jar james-server.jar"
    -    image: linagora/james-project:latest
    --- End diff --
    
    Oups ?


> 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
>            Priority: Major
>              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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message