java.lang.ArrayIndexOutOfBoundsException: 3

sshtools | *anonymous | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    private/public key authentication w/OpenSSH

    sshtools | 1 decade ago | *anonymous
    java.lang.ArrayIndexOutOfBoundsException: 3

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      3

      at com.sshtools.j2ssh.io.ByteArrayReader.readInt()
    2. com.sshtools.j2ssh
      SshKeyGenerator.main
      1. com.sshtools.j2ssh.io.ByteArrayReader.readInt(Unknown Source)
      2. com.sshtools.j2ssh.io.ByteArrayReader.readString(Unknown Source)
      3. com.sshtools.j2ssh.transport.publickey.SshPublicKeyFile.getAlgorithm(Unknown Source)
      4. com.sshtools.j2ssh.transport.publickey.SshPublicKeyFile.setFormat(Unknown Source)
      5. com.sshtools.j2ssh.transport.publickey.SshKeyGenerator.convertPublicKeyFile(Unknown Source)
      6. com.sshtools.j2ssh.transport.publickey.SshKeyGenerator.main(Unknown Source)
      6 frames