You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/01/09 16:32:35 UTC

[jira] [Commented] (SSHD-388) SSH server fails during bundle update

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

ASF GitHub Bot commented on SSHD-388:
-------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/mina-sshd/pull/8


> SSH server fails during bundle update
> -------------------------------------
>
>                 Key: SSHD-388
>                 URL: https://issues.apache.org/jira/browse/SSHD-388
>             Project: MINA SSHD
>          Issue Type: Bug
>            Reporter: Jonathan Anstey
>            Assignee: Guillaume Nodet
>             Fix For: 0.14.0
>
>
> When updating a large number of bundles (including sshd, felix, aries, karaf, etc) a NPE from felix can kill the whole SSH server with an exception like:
> 22:47:59,979 | INFO  | agent-1-thread-1 | SshServerFactory                 | 49 - org.apache.karaf.shell.ssh - 2.3.0.redhat-610394 | Error updating SSH server
> java.lang.NullPointerException
>         at org.apache.felix.framework.BundleRevisionImpl.getResourcesLocal(BundleRevisionImpl.java:571)
>         at org.apache.felix.framework.BundleWiringImpl.findResourcesByDelegation(BundleWiringImpl.java:1173)
>         at org.apache.felix.framework.BundleWiringImpl.getResourcesByDelegation(BundleWiringImpl.java:1083)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5.getResources(BundleWiringImpl.java:1870)
>         at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:340)[:1.7.0_71]
>         at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:439)[:1.7.0_71]
>         at org.apache.sshd.common.io.DefaultIoServiceFactoryFactory.tryLoad(DefaultIoServiceFactoryFactory.java:72)
>         at org.apache.sshd.common.io.DefaultIoServiceFactoryFactory.newInstance(DefaultIoServiceFactoryFactory.java:56)
>         at org.apache.sshd.common.io.DefaultIoServiceFactoryFactory.getFactory(DefaultIoServiceFactoryFactory.java:43)
>         at org.apache.sshd.common.io.DefaultIoServiceFactoryFactory.create(DefaultIoServiceFactoryFactory.java:37)
>         at org.apache.sshd.common.AbstractFactoryManager.getIoServiceFactory(AbstractFactoryManager.java:73)
>         at org.apache.sshd.SshServer.createAcceptor(SshServer.java:409)
>         at org.apache.sshd.SshServer.start(SshServer.java:325)
>         at org.apache.karaf.shell.ssh.SshServerFactory.start(SshServerFactory.java:58)
> ...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)