GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — NullPointerException in JdkSslClientContext in 4.1.114.Final · Issue #14488 · netty/netty Closed DescriptionI've just encountered some code that works as expected with Spring Boot 3.3.4 (Netty 4.1.113.Final), but with Spring Boot 3.3.5 (Netty 4.1.114.Final) Netty throws an SSLException caused by a NullPointerException. Expected behaviorNo NullPointerException thrown, same as 4.1.113. Actual behaviorNullPointerException thrown. Steps to reproduceThe code calls ctx.init(keyManagerFactory == null ? null : keyManagerFactory.getKeyManagers(), trustManagerFactory == null ? null : trustManagerFactory.getTrustManagers(), secureRandom); In the code in question, ctx.init(keyManagerFactory == null ? null : keyManagerFactory.getKeyManagers(), trustManagerFactory == null ? null : wrapIfNeeded(trustManagerFactory.getTrustManagers(), resumptionController), secureRandom); which then calls: private static TrustManager[] wrapIfNeeded(TrustManager[] tms, ResumptionController resumptionController) { if (resumptionController != null) { for (int i = 0; i < tms.length; i++) { tms[i] = resumptionController.wrapIfNeeded(tms[i]); } } return tms; } Now when Netty version4.1.114.Final JVM version (e.g.
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |