You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2006/11/17 03:27:37 UTC

[jira] Created: (DIRMINA-308) NullPointerException in SocketIoProcessor under heavy load

NullPointerException in SocketIoProcessor under heavy load
----------------------------------------------------------

                 Key: DIRMINA-308
                 URL: http://issues.apache.org/jira/browse/DIRMINA-308
             Project: Directory MINA
          Issue Type: Bug
    Affects Versions: 1.0
            Reporter: Trustin Lee
             Fix For: 1.0.1


It seems like selector member variable is not updated on time in case of multi-processor environment.

     [java] java.lang.NullPointerException
     [java]     at org.apache.mina.transport.socket.nio.SocketIoProcessor.addNew(SocketIoProcessor.java:78)
     [java]     at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(SocketAcceptor.java:355)
     [java]     at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(SocketAcceptor.java:273)
     [java]     at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:43)
     [java]     at java.lang.Thread.run(Thread.java:595)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (DIRMINA-308) NullPointerException in SocketIoProcessor under heavy load

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-308?page=all ]

Trustin Lee closed DIRMINA-308.
-------------------------------

    Resolution: Fixed
      Assignee: Trustin Lee

Resolved by making the wakeup() call take place while holding the lock.

> NullPointerException in SocketIoProcessor under heavy load
> ----------------------------------------------------------
>
>                 Key: DIRMINA-308
>                 URL: http://issues.apache.org/jira/browse/DIRMINA-308
>             Project: MINA
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Trustin Lee
>         Assigned To: Trustin Lee
>             Fix For: 1.0.1
>
>
> It seems like selector member variable is not updated on time in case of multi-processor environment.
>      [java] java.lang.NullPointerException
>      [java]     at org.apache.mina.transport.socket.nio.SocketIoProcessor.addNew(SocketIoProcessor.java:78)
>      [java]     at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(SocketAcceptor.java:355)
>      [java]     at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(SocketAcceptor.java:273)
>      [java]     at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:43)
>      [java]     at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira