org.apache.sshd.common.util.buffer.BufferException: Underflow

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by David Chevell, 1 year ago
Underflow
org.apache.sshd.common.util.buffer.BufferException: Underflow
at org.apache.sshd.common.util.buffer.Buffer.ensureAvailable(Buffer.java:411)
at org.apache.sshd.common.util.buffer.Buffer.getUInt(Buffer.java:155)
at org.apache.sshd.common.util.buffer.Buffer.getInt(Buffer.java:150)
at org.apache.sshd.common.util.buffer.ByteArrayBuffer.getString(ByteArrayBuffer.java:160)
at org.apache.sshd.common.util.buffer.Buffer.getString(Buffer.java:180)
at org.apache.sshd.common.session.helpers.AbstractSession.handleDisconnect(AbstractSession.java:641)
at org.apache.sshd.common.session.helpers.AbstractSession.doHandleMessage(AbstractSession.java:493)
at org.apache.sshd.common.session.helpers.AbstractSession.handleMessage(AbstractSession.java:463)
at org.apache.sshd.common.session.helpers.AbstractSession.decode(AbstractSession.java:1325)
at org.apache.sshd.common.session.helpers.AbstractSession.messageReceived(AbstractSession.java:424)
at org.apache.sshd.common.session.helpers.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:67)
at org.apache.sshd.common.io.nio2.Nio2Session.handleReadCycleCompletion(Nio2Session.java:285)
at org.apache.sshd.common.io.nio2.Nio2Session$2.onCompleted(Nio2Session.java:265)
at org.apache.sshd.common.io.nio2.Nio2Session$2.onCompleted(Nio2Session.java:262)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker$2.run(Invoker.java:218)
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

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.

Write tip

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