nsk.share.TestFailure: TEST FAILED: Caught IOException while establishing JDWP transport connection: java.io.IOException: Target VM failed to handshake: unexpected byte #0: -128 (expected:74)

JDK Bug System | Joseph Provino | 7 months 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

    java" "-d64" "-server" "-Xcomp" "-Xcomp" "-XX:MaxRAMFraction=8" "-XX:+CreateCoredumpOnCrash" "-ea" "-esa" "-XX:CompileThreshold=100" "-XX:+UnlockExperimentalVMOptions" "-server" "-XX:-TieredCompilation" "-Xdebug" "-Xrunjdwp:server=n,transport=dt_socket,address=localhost:42831" "nsk.jdwp.ThreadReference.Name.name001a" "-arch=solaris-sparcv9" "-verbose" "-waittime=5" "-debugee.vmkind=java" "-transport.address=dynamic" "-debugee.vmkeys=-d64 -server -Xcomp -Xcomp -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation" "-pipe.port=53902" Debugee> Establishing JDWP socket connection Debugee> Listening from debugee 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) # ERROR: TEST FAILED: Caught IOException while establishing JDWP transport connection: # ERROR: java.io.IOException: Target VM failed to handshake: unexpected byte #0: -128 (expected:74) The following stacktrace is for Aurora. Used to create a RULE: nsk.share.TestFailure: TEST FAILED: Caught IOException while establishing JDWP transport connection: java.io.IOException: Target VM failed to handshake: unexpected byte #0: -128 (expected:74) at nsk.share.Log.logExceptionForAurora(Log.java:411) at nsk.share.Log.complain(Log.java:380) at nsk.jdwp.ThreadReference.Name.name001.runIt(name001.java:137) at nsk.jdwp.ThreadReference.Name.name001.run(name001.java:82) at nsk.jdwp.ThreadReference.Name.name001.main(name001.java:75) # ERROR: TEST FAILED # ERROR: Debugee> Debugee VM has not exited correctly: trying to kill it The following stacktrace is for Aurora. Used to create a RULE: nsk.share.TestFailure: Debugee> Debugee VM has not exited correctly: trying to kill it at nsk.share.Log.logExceptionForAurora(Log.java:411) at nsk.share.Log.complain(Log.java:380) at nsk.share.jpda.DebugeeProcess.complain(DebugeeProcess.java:401) at nsk.share.jpda.DebugeeProcess.close(DebugeeProcess.java:381) at nsk.share.jdwp.Debugee.close(Debugee.java:1641) at nsk.share.jpda.DebugeeProcess.finalize(DebugeeProcess.java:410) at nsk.share.FinalizableObject.finalizeAtExit(FinalizableObject.java:34) at nsk.share.Finalizer$FinalizerThread.run(Finalizer.java:107) Killing debugee VM process #> #> SUMMARY: Following errors occured #> during test execution: #> # ERROR: TEST FAILED: Caught IOException while establishing JDWP transport connection: # ERROR: java.io.IOException: Target VM failed to handshake: unexpected byte #0: -128 (expected:74) # ERROR: TEST FAILED # ERROR: Debugee> Debugee VM has not exited correctly: trying to kill it

    JDK Bug System | 7 months ago | Joseph Provino
    nsk.share.TestFailure: TEST FAILED: Caught IOException while establishing JDWP transport connection: java.io.IOException: Target VM failed to handshake: unexpected byte #0: -128 (expected:74)

    Root Cause Analysis

    1. nsk.share.TestFailure

      TEST FAILED: Caught IOException while establishing JDWP transport connection: java.io.IOException: Target VM failed to handshake: unexpected byte #0: -128 (expected:74)

      at nsk.share.Log.logExceptionForAurora()
    2. nsk.share
      Log.complain
      1. nsk.share.Log.logExceptionForAurora(Log.java:411)
      2. nsk.share.Log.complain(Log.java:380)
      2 frames
    3. nsk.jdwp.ThreadReference
      name001.main
      1. nsk.jdwp.ThreadReference.Name.name001.runIt(name001.java:137)
      2. nsk.jdwp.ThreadReference.Name.name001.run(name001.java:82)
      3. nsk.jdwp.ThreadReference.Name.name001.main(name001.java:75)
      3 frames