mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph John (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRMINA-1118) NPE in SslHandler.checkStatus
Date Mon, 12 Aug 2019 09:10:00 GMT
Christoph John created DIRMINA-1118:
---------------------------------------

             Summary: NPE in SslHandler.checkStatus
                 Key: DIRMINA-1118
                 URL: https://issues.apache.org/jira/browse/DIRMINA-1118
             Project: MINA
          Issue Type: Bug
            Reporter: Christoph John


Since some days we receive this NPE on our build server when running tests. Interestingly
this occurs since OpenJDK has been switched from 8.192 to 8.222. However, it is probably just
coincidence.

{code}
<20190810-14:45:11, FIX.4.4:ALFA0->ZULU0, error> (java.lang.NullPointerException
java.lang.NullPointerException
	at org.apache.mina.filter.ssl.SslHandler.checkStatus(SslHandler.java:539)
	at org.apache.mina.filter.ssl.SslHandler.messageReceived(SslHandler.java:374)
	at org.apache.mina.filter.ssl.SslFilter.messageReceived(SslFilter.java:517)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1128)
	at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:122)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1128)
	at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:122)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:643)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:539)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$1200(AbstractPollingIoProcessor.java:68)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1222)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1211)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:683)
	at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
{code}

https://github.com/apache/mina/blame/2.1.X/mina-core/src/main/java/org/apache/mina/filter/ssl/SslHandler.java#L539

IMHO when polling a queue then NULL can also be returned.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org


Mime
View raw message