java.lang.ArrayIndexOutOfBoundsException: 222

MuleSoft JIRA | Alejandro Nosenzo | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Testing with the MAC SFTP server when you connect using "sftp localhost" the key added to your known_hosts file is using "ecdsa-sha2-nistp256". When I want to connect using Mule SFTP Connection I receive this warning {quote} Root Exception stack trace: com.jcraft.jsch.JSchException: UnknownHostKey: localhost. RSA key fingerprint is bb:cb:63:07:52:24:32:13:d8:b8:ac:07:e3:2e:15:23 at com.jcraft.jsch.Session.checkHost(Session.java:797) {quote} If I add the entry after obtaining the ssh-rsa using the command "ssh-keyscan localhost" it throws: {quote} org.mule.runtime.core.api.MuleRuntimeException: Error during login to alejandro@localhost. 2016-08-31 03:53:24,863 [[fb407c40-6f46-11e6-8f29-acbc32a683df].sftp-flow-create-directory.worker.01] ERROR org.mule.runtime.core.exception.DefaultMessagingExceptionStrategy - ******************************************************************************** Message : org.mule.runtime.core.api.MuleRuntimeException: Error during login to alejandro@localhost Payload : null Payload Type : null Element : org.mule.runtime.module.extension.internal.runtime.DefaultExecutionMediator$OperationRetryCallBack@1f147640 @ app -------------------------------------------------------------------------------- Root Exception stack trace: java.lang.ArrayIndexOutOfBoundsException: 222 at com.jcraft.jsch.Util.fromBase64(Util.java:52) at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:218) at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:54) at com.jcraft.jsch.JSch.setKnownHosts(JSch.java:317) at org.mule.extension.ftp.internal.sftp.connection.SftpClient.configureHostChecking(SftpClient.java:187) at org.mule.extension.ftp.internal.sftp.connection.SftpClient.configureSession(SftpClient.java:170) {quote}

    MuleSoft JIRA | 7 months ago | Alejandro Nosenzo
    java.lang.ArrayIndexOutOfBoundsException: 222

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      222

      at com.jcraft.jsch.Util.fromBase64()
    2. JSch
      JSch.setKnownHosts
      1. com.jcraft.jsch.Util.fromBase64(Util.java:52)
      2. com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:218)
      3. com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:54)
      4. com.jcraft.jsch.JSch.setKnownHosts(JSch.java:317)
      4 frames
    3. org.mule.extension
      SftpClient.configureSession
      1. org.mule.extension.ftp.internal.sftp.connection.SftpClient.configureHostChecking(SftpClient.java:187)
      2. org.mule.extension.ftp.internal.sftp.connection.SftpClient.configureSession(SftpClient.java:170)
      2 frames