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] [Commented] (DIRMINA-1118) NPE in SslHandler.checkStatus
Date Fri, 29 Nov 2019 12:50:00 GMT

    [ https://issues.apache.org/jira/browse/DIRMINA-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16984989#comment-16984989
] 

Christoph John commented on DIRMINA-1118:
-----------------------------------------

Scratch that. I can reproduce this also in my local dev env. Will test the fix sometime the
next days.
Thanks,
Chris.

> NPE in SslHandler.checkStatus
> -----------------------------
>
>                 Key: DIRMINA-1118
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1118
>             Project: MINA
>          Issue Type: Bug
>    Affects Versions: 2.1.3
>            Reporter: Christoph John
>            Priority: Major
>
> 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
(v8.3.4#803005)

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


Mime
View raw message