java.lang.NegativeArraySizeException

sshtools | fsumargo | 10 years 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

    Not working on linux. works fine on windows.

    sshtools | 10 years ago | fsumargo
    java.lang.NegativeArraySizeException
  2. 0

    NegativeArraySizeException ?

    sshtools | 10 years ago | queinnec
    java.lang.NegativeArraySizeException

    Root Cause Analysis

    1. java.lang.NegativeArraySizeException

      No message provided

      at com.sshtools.j2ssh.io.ByteArrayReader.readString()
    2. com.sshtools.j2ssh
      SshClient.connect
      1. com.sshtools.j2ssh.io.ByteArrayReader.readString(Unknown Source)
      2. com.sshtools.j2ssh.transport.publickey.SshKeyPairFactory.decodePublicKey(Unknown Source)
      3. com.sshtools.j2ssh.transport.AbstractKnownHostsKeyVerification.<init>(Unknown Source)
      4. com.sshtools.j2ssh.transport.ConsoleKnownHostsKeyVerification.<init>(Unknown Source)
      5. com.sshtools.j2ssh.SshClient.connect(Unknown Source)
      5 frames
    3. Unknown
      SshExample.main
      1. SshExample.main(SshExample.java:27)
      1 frame