java.lang.NegativeArraySizeException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via sshtools by queinnec
, 1 year ago
This exception has no message.
via sshtools by fsumargo
, 1 year ago
This exception has no message.
via thecodingforums.com by Unknown author, 1 year ago
This exception has no message.
via Google Groups by Unknown author, 1 year ago
This exception has no message.
java.lang.NegativeArraySizeException:
at com.sshtools.j2ssh.io.ByteArrayReader.readString(ByteArrayReader.java:163)
at com.sshtools.j2ssh.transport.publickey.SshKeyPairFactory.decodePublicKey(SshKeyPairFactory.java:221)
at com.sshtools.j2ssh.transport.AbstractKnownHostsKeyVerification.(AbstractKnownHostsKeyVerification.java:119)
at com.sshtools.j2ssh.transport.ConsoleKnownHostsKeyVerification.(ConsoleKnownHostsKeyVerification.java:61)
at com.sshtools.j2ssh.SshClient.connect(SshClient.java:541)
at undefined.PublicKeyConnect.main(PublicKeyConnect.java:77)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.