mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRMINA-567) NPE in AbstractIoSession after getWaitingReadFutures
Date Tue, 08 Apr 2008 08:55:24 GMT

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

Trustin Lee commented on DIRMINA-567:
-------------------------------------

It's entirely up to you to use 3.0.0-M2-SNAPSHOT in your production environment.  I also couldn't
find any critical bug yet.  However, we will have some changes in API until we reach the RC.
 If you can catch up the changes, you might want to give it a try. 

> NPE in AbstractIoSession after getWaitingReadFutures
> ----------------------------------------------------
>
>                 Key: DIRMINA-567
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-567
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-M1
>            Reporter: Dennis Sieben
>            Assignee: Trustin Lee
>             Fix For: 2.0.0-M2
>
>         Attachments: patch.diff
>
>
> There seems to be a race condition in AbstractIoSession. The following NPE appears sometimes:
> java.lang.NullPointerException
> 	at org.apache.mina.common.AbstractIoSession.newReadFuture(AbstractIoSession.java:227)
> 	at org.apache.mina.common.AbstractIoSession.offerFailedReadFuture(AbstractIoSession.java:212)
> 	at org.apache.mina.common.DefaultIoFilterChain$TailFilter.exceptionCaught(DefaultIoFilterChain.java:727)
> 	at org.apache.mina.common.DefaultIoFilterChain.callNextExceptionCaught(DefaultIoFilterChain.java:446)
> 	at org.apache.mina.common.DefaultIoFilterChain.access$1100(DefaultIoFilterChain.java:40)
> 	at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.exceptionCaught(DefaultIoFilterChain.java:818)
> 	at org.apache.mina.common.DefaultIoFilterChain$HeadFilter.exceptionCaught(DefaultIoFilterChain.java:601)
> 	at org.apache.mina.common.DefaultIoFilterChain.callNextExceptionCaught(DefaultIoFilterChain.java:446)
> 	at org.apache.mina.common.DefaultIoFilterChain.fireExceptionCaught(DefaultIoFilterChain.java:437)
> 	at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:408)
> 	at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)
> 	at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:823)
> 	at org.apache.mina.common.DefaultIoFilterChain$HeadFilter.messageReceived(DefaultIoFilterChain.java:607)
> 	at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)
> 	at org.apache.mina.common.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:399)
> 	at org.apache.mina.common.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:425)
> 	at org.apache.mina.common.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:387)
> 	at org.apache.mina.common.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:379)
> 	at org.apache.mina.common.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:43)
> 	at org.apache.mina.common.AbstractPollingIoProcessor$Worker.run(AbstractPollingIoProcessor.java:678)
> 	at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 	at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message