NPE in SSL handler after 4.1.77.Final -> 4.1.78.Final update
See original GitHub issue11:29:02.695 WARN - Failed to remove a handler: io.netty.handler.ssl.SslHandler
java.lang.NullPointerException: Cannot invoke "io.netty.handler.ssl.SslHandler$SslHandlerCoalescingBufferQueue.isEmpty()" because "this.pendingUnencryptedWrites" is null
at io.netty.handler.ssl.SslHandler.handlerRemoved0(SslHandler.java:677) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder.handlerRemoved(ByteToMessageDecoder.java:261) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.callHandlerRemoved(AbstractChannelHandlerContext.java:946) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:614) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.channel.DefaultChannelPipeline.replace(DefaultChannelPipeline.java:572) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.channel.DefaultChannelPipeline.replace(DefaultChannelPipeline.java:509) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.handler.ssl.SniHandler.replaceHandler(SniHandler.java:134) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.handler.ssl.SniHandler.onLookupComplete(SniHandler.java:114) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.handler.ssl.AbstractSniHandler.onLookupComplete(AbstractSniHandler.java:132) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.handler.ssl.SslClientHelloHandler.select(SslClientHelloHandler.java:190) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.handler.ssl.SslClientHelloHandler.decode(SslClientHelloHandler.java:149) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:510) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:449) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[webdash-0.76.3-SNAPSHOT-1,293.jar:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Java:
openjdk version "17.0.3" 2022-04-19
OpenJDK Runtime Environment (build 17.0.3+7-Ubuntu-0ubuntu0.20.04.1)
OpenJDK 64-Bit Server VM (build 17.0.3+7-Ubuntu-0ubuntu0.20.04.1, mixed mode, sharing)
Issue Analytics
- State:
- Created a year ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
[GitHub] [servicecomb-java-chassis] dependabot[bot] opened a new ...
dependabot[bot] opened a new pull request, #3078: URL: https://github.com/apache/servicecomb-java-chassis/pull/3078
Read more >SslProvider (Netty/Handler 4.1.45.Final API) - Javadoc.io
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate...
Read more >Changelog - http4s
This is the final planned release in the 0.21 series. Bugfixes and community submissions will be considered for discretionary releases, but the development...
Read more >chore(deps): update all dependencies (major) (!151 ... - GitLab
This MR contains the following updates: Package Change Age Adoption Passing Confidence.
Read more >仓库网络图 · Gitee 极速下载/apache-ranger - Gitee.com
Final RANGER-3819: Upgrade springframework version RANGER-3712:Update Apache ... code to fix NPE with kerberos RANGER-3784: Upgrade netty to 4.1.77-final ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@doom369 see https://github.com/netty/netty/pull/12490
Just depend on netty-bom ? This will ensure the right version is used