Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JAMES-3715 Prevent possible NPE upon inactive SMTP channel #1014

Merged
merged 1 commit into from May 26, 2022

Conversation

chibenwa
Copy link
Contributor

@chibenwa chibenwa commented May 24, 2022

java.lang.NullPointerException: null
         at org.apache.james.protocols.netty.BasicChannelInboundHandler.channelInactive(BasicChannelInboundHandler.java:137)
         at org.apache.james.smtpserver.netty.SMTPChannelInboundHandler.channelInactive(SMTPChannelInboundHandler.java:64)
         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
         at io.netty.channel.AbstractChannelHandlerContext.access$300(AbstractChannelHandlerContext.java:61)
         at io.netty.channel.AbstractChannelHandlerContext$4.run(AbstractChannelHandlerContext.java:253)
         at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66)
         at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
         at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
         at java.base/java.lang.Thread.run(Unknown Source) 

@chibenwa chibenwa self-assigned this May 24, 2022
@chibenwa chibenwa merged commit e8c026d into apache:master May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants