java.lang.ExceptionInInitializerError

Exception #2902994

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7

  • via Unknown by Unknown author,
  • via Unknown by Guy Katz,
  • via Unknown by Florian Müller,
  • Stack trace

    • java.lang.ExceptionInInitializerError at io.netty.handler.ssl.JdkSslContext.toNegotiator(JdkSslContext.java:285) at io.netty.handler.ssl.JdkSslClientContext.<init>(JdkSslClientContext.java:261) at io.netty.handler.ssl.SslContext.newClientContextInternal(SslContext.java:742) at io.netty.handler.ssl.SslContextBuilder.build(SslContextBuilder.java:395) at com.relayrides.pushy.apns.ApnsClient.getSslContextWithCertificateAndPrivateKey(ApnsClient.java:392) at com.relayrides.pushy.apns.ApnsClient.getSslContextWithP12InputStream(ApnsClient.java:386) at com.relayrides.pushy.apns.ApnsClient.getSslContextWithP12File(ApnsClient.java:363) at com.relayrides.pushy.apns.ApnsClient.<init>(ApnsClient.java:264) at com.relayrides.pushy.apns.ApnsClient.<init>(ApnsClient.java:238) at ch.bdna.ruletest.ExampleApp.main(ExampleApp.java:32) Caused by: java.lang.RuntimeException: ALPN unsupported. Is your classpatch configured correctly? See http://www.eclipse.org/jetty/documentation/current/alpn-chapter.html#alpn-starting at io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator$1.<init>(JdkAlpnApplicationProtocolNegotiator.java:27) at io.netty.handler.ssl.JdkAlpnApplicationProtocolNegotiator.<clinit>(JdkAlpnApplicationProtocolNegotiator.java:24) ... 10 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.