You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2022/08/26 14:16:58 UTC

[GitHub] [james-project] chibenwa opened a new pull request, #1162: JAMES-3737 Upon IMAP deselect registration.get() can be null

chibenwa opened a new pull request, #1162:
URL: https://github.com/apache/james-project/pull/1162

   This happens for instance when an error happens before the session is
   fully selected eg upon IMAP error, or partial select completion.
   
   ```
   java.lang.NullPointerException: Cannot invoke "org.apache.james.events.Registration.unregister()" because the return value of "java.util.concurrent.atomic.AtomicReference.get()" is null
   at org.apache.james.imap.processor.base.SelectedMailboxImpl.deselect(SelectedMailboxImpl.java:196)
   at org.apache.james.imapserver.netty.NettyImapSession.closeMailbox(NettyImapSession.java:153)
   at org.apache.james.imapserver.netty.NettyImapSession.selected(NettyImapSession.java:127)
   at org.apache.james.imap.processor.AbstractSelectionProcessor.selectMailbox(AbstractSelectionProcessor.java:409)
   at org.apache.james.imap.processor.AbstractSelectionProcessor.lambda$selectMailbox$20(AbstractSelectionProcessor.java:383)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [james-project] chibenwa merged pull request #1162: JAMES-3737 Upon IMAP deselect registration.get() can be null

Posted by GitBox <gi...@apache.org>.
chibenwa merged PR #1162:
URL: https://github.com/apache/james-project/pull/1162


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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