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
NullPointerException in PendingWriteQueue #3967
Comments
That's strange... let me check |
@mingyu89 thanks for reporting.. I think I know what the problem is and I'm working on a fix. |
@normanmaurer Thank you! |
normanmaurer
added a commit
that referenced
this issue
Jul 15, 2015
Motivation: If the Channel is already closed when the PendingWriteQueue is created it will generate a NPE when add or remove is called later. Modifications: Add null checks to guard against NPE. Result: No more NPE possible.
normanmaurer
added a commit
that referenced
this issue
Jul 17, 2015
Motivation: If the Channel is already closed when the PendingWriteQueue is created it will generate a NPE when add or remove is called later. Modifications: Add null checks to guard against NPE. Result: No more NPE possible.
normanmaurer
added a commit
that referenced
this issue
Jul 17, 2015
Motivation: If the Channel is already closed when the PendingWriteQueue is created it will generate a NPE when add or remove is called later. Modifications: Add null checks to guard against NPE. Result: No more NPE possible.
normanmaurer
added a commit
that referenced
this issue
Jul 17, 2015
Motivation: If the Channel is already closed when the PendingWriteQueue is created it will generate a NPE when add or remove is called later. Modifications: Add null checks to guard against NPE. Result: No more NPE possible.
pulllock
pushed a commit
to pulllock/netty
that referenced
this issue
Oct 19, 2023
Motivation: If the Channel is already closed when the PendingWriteQueue is created it will generate a NPE when add or remove is called later. Modifications: Add null checks to guard against NPE. Result: No more NPE possible.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Netty Version: 4.0.27.final
Hi. When there're network outages, sometimes on server side we saw handler's exceptionCaught was called with a NullPointerException in PendingWriteQueue.
@trustin Is it a race condition between adding SslHandler and closing channel?
Thanks.
The text was updated successfully, but these errors were encountered: