mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRMINA-927) NPE SSL Handshake
Date Wed, 16 Dec 2015 13:57:47 GMT

     [ https://issues.apache.org/jira/browse/DIRMINA-927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny updated DIRMINA-927:
--------------------------------------
    Fix Version/s:     (was: 2.0.9)
                   2.0.10

> NPE SSL Handshake
> -----------------
>
>                 Key: DIRMINA-927
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-927
>             Project: MINA
>          Issue Type: Bug
>          Components: Filter
>    Affects Versions: 2.0.7
>         Environment: * Linux version 3.4.2-linode44 (root@build) (gcc version 4.4.5 (Debian
4.4.5-8) ) #1 SMP Tue Jun 12 15:04:46 EDT 2012
> * Java(TM) SE Runtime Environment (build 1.6.0_33-b03)
> * Mina 2.0.7
>            Reporter: CĂ©lio Vasconcelos
>              Labels: Handshake, NPE, SSL
>             Fix For: 2.0.10
>
>
> This error occurs sometimes. 
> java.lang.RuntimeException: Delegated task threw Exception/Error
>         at com.sun.net.ssl.internal.ssl.Handshaker.checkThrown(Handshaker.java:1012)
>         at com.sun.net.ssl.internal.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:485)
>         at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:753)
>         at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:721)
>         at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607)
>         at org.apache.mina.filter.ssl.SslHandler.unwrap(SslHandler.java:728)
>         at org.apache.mina.filter.ssl.SslHandler.unwrapHandshake(SslHandler.java:666)
>         at org.apache.mina.filter.ssl.SslHandler.handshake(SslHandler.java:552)
>         at org.apache.mina.filter.ssl.SslHandler.messageReceived(SslHandler.java:351)
>         at org.apache.mina.filter.ssl.SslFilter.messageReceived(SslFilter.java:468)
>         at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
>         at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
>         at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
>         at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
>         at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
>         at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:410)
>         at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:710)
>         at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:664)
>         at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:653)
>         at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:67)
>         at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1124)
>         at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.NullPointerException
>         at sun.security.internal.spec.TlsKeyMaterialParameterSpec.<init>(TlsKeyMaterialParameterSpec.java:69)
>         at com.sun.net.ssl.internal.ssl.Handshaker.calculateConnectionKeys(Handshaker.java:840)
>         at com.sun.net.ssl.internal.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:595)
>         at com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:151)
>         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
>         at com.sun.net.ssl.internal.ssl.Handshaker$1.run(Handshaker.java:533)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at com.sun.net.ssl.internal.ssl.Handshaker$DelegatedTask.run(Handshaker.java:952)
>         at org.apache.mina.filter.ssl.SslHandler.doTasks(SslHandler.java:759)
>         at org.apache.mina.filter.ssl.SslHandler.handshake(SslHandler.java:544)
>         ... 17 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message