mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Domenic Alessi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SSHD-307) NPE in
Date Tue, 01 Apr 2014 13:52:17 GMT
Domenic Alessi created SSHD-307:
-----------------------------------

             Summary: NPE in 
                 Key: SSHD-307
                 URL: https://issues.apache.org/jira/browse/SSHD-307
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 0.9.0
         Environment: Apache 2.2.15 , RHEL 6.5
            Reporter: Domenic Alessi


We are running gerrit 2.7 and this is packaged with SSHD 0.9.0.  We see NPE in and also at
a certain point all SSH commands hang.  CPUs maxed out.  There are no outofmemory errors.

2014-03-31 12:25:55,339|WARN |NioProcessor-4|AbstractSession| Exception caught
java.lang.NullPointerException
        at org.apache.sshd.common.session.AbstractSession.getSession(AbstractSession.java:184)
        at org.apache.sshd.server.session.ServerSession.getActiveSessionCountForUser(ServerSession.java:564)
        at org.apache.sshd.server.session.ServerSession.userAuth(ServerSession.java:482)
        at org.apache.sshd.server.session.ServerSession.handleMessage(ServerSession.java:212)
        at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:587)
        at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:253)
        at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)
        at org.apache.sshd.common.io.mina.MinaService.messageReceived(MinaService.java:94)
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:690)
        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.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message