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

SshClient.execChannel fails because agentConnector is not initialized

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.7.3, 1.8.0
    • Component/s: jclouds-drivers
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: