java.lang.NegativeArraySizeException

sshtools | fsumargo | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Not working on linux. works fine on windows.

    sshtools | 9 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