java.io.IOException

Target VM failed to handshake: unexpected byte #0: -128 (expected:74)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web17053

  • via JDK Bug System by Joseph Provino, 11 months ago
    Target VM failed to handshake: unexpected byte #0: -128 (expected:74)
  • Target VM failed to handshake: too few bytes in reply: 0(expected: 14)
  • Command failed in target VM
  • Stack trace

    • java.io.IOException: Target VM failed to handshake: unexpected byte #0: -128 (expected:74) at nsk.share.jdwp.Transport.handshake(Transport.java:109) at nsk.share.jdwp.Debugee.connect(Debugee.java:153) at nsk.share.jdwp.Binder.bindToDebugee(Binder.java:99) at nsk.jdwp.ThreadReference.Name.name001.runIt(name001.java:103) at nsk.jdwp.ThreadReference.Name.name001.run(name001.java:82) at nsk.jdwp.ThreadReference.Name.name001.main(name001.java:75)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.