Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-561

SshClient.execChannel fails because agentConnector is not initialized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.2
    • 1.7.3, 1.8.0
    • jclouds-drivers
    • None

    Description

      The problem appeared after upgrading from JClodus 1.7.1 to 1.7.2.
      The stack trace is:

      java.lang.NullPointerException: agentConnector for % [54.242.168.179:22]
      at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:236) ~[guava-15.0.jar:na]
      at org.jclouds.ssh.jsch.SessionConnection.<init>(SessionConnection.java:144) ~[jclouds-jsch-1.7.2.jar:1.7.2]
      at org.jclouds.ssh.jsch.SessionConnection.<init>(SessionConnection.java:39) ~[jclouds-jsch-1.7.2.jar:1.7.2]
      at org.jclouds.ssh.jsch.SessionConnection$Builder.build(SessionConnection.java:122) ~[jclouds-jsch-1.7.2.jar:1.7.2]
      at org.jclouds.ssh.jsch.JschSshClient$ExecChannelConnection.create(JschSshClient.java:475) ~[jclouds-jsch-1.7.2.jar:1.7.2]
      at org.jclouds.ssh.jsch.JschSshClient$ExecChannelConnection.create(JschSshClient.java:456) ~[jclouds-jsch-1.7.2.jar:1.7.2]
      at org.jclouds.ssh.jsch.JschSshClient.acquire(JschSshClient.java:180) ~[jclouds-jsch-1.7.2.jar:1.7.2]

      Attachments

        Activity

          People

            nacx Ignasi Barrera
            rtimush Roman Timushev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: