NPE in SupportedGroupsExtension

Jamil Nimeh jamil.j.nimeh at oracle.com
Thu Aug 23 22:00:41 UTC 2018


Hi Thomas, can you reproduce the issue with debug logging turned on?  It 
may be helpful in conjunction with the stack trace you've provided.  You 
should be able to turn it on with -Djavax.net.debug=ssl

Thanks,
--Jamil

On 8/23/2018 2:41 PM, Thomas Lußnig wrote:
> Hi,
>
> i got these NPE on my Server. With Java:
>
> openjdk 11-ea 2018-09-25
> OpenJDK Runtime Environment 18.9 (build 11-ea+25)
> OpenJDK 64-Bit Server VM 18.9 (build 11-ea+25, mixed mode)
>
> java.lang.NullPointerException
>         at 
> java.base/sun.security.ssl.SupportedGroupsExtension$SupportedGroups.getECGenParamSpec(SupportedGroupsExtension.java:676)
>         at 
> java.base/sun.security.ssl.SupportedGroupsExtension$NamedGroup.getParameterSpec(SupportedGroupsExtension.java:454)
>         at 
> java.base/sun.security.ssl.ECDHKeyExchange$ECDHEPossession.<init>(ECDHKeyExchange.java:111)
>         at 
> java.base/sun.security.ssl.ECDHKeyExchange$ECDHEPossessionGenerator.createPossession(ECDHKeyExchange.java:231)
>         at 
> java.base/sun.security.ssl.SSLKeyExchange$T12KeyAgreement.createPossession(SSLKeyExchange.java:357)
>         at 
> java.base/sun.security.ssl.SSLKeyExchange.createPossessions(SSLKeyExchange.java:88)
>         at 
> java.base/sun.security.ssl.ServerHello$T12ServerHelloProducer.chooseCipherSuite(ServerHello.java:429)
>         at 
> java.base/sun.security.ssl.ServerHello$T12ServerHelloProducer.produce(ServerHello.java:290)
>         at 
> java.base/sun.security.ssl.SSLHandshake.produce(SSLHandshake.java:429)
>         at 
> java.base/sun.security.ssl.ClientHello$T12ClientHelloConsumer.consume(ClientHello.java:1066)
>         at 
> java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.onClientHello(ClientHello.java:833)
>         at 
> java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.consume(ClientHello.java:792)
>         at 
> java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:390)
>         at 
> java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:445)
>         at 
> java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:978)
>         at 
> java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:958)
>         at 
> java.base/java.security.AccessController.doPrivileged(Native Method)
>         at 
> java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:926)
>




More information about the security-dev mailing list