java.io.IOException: Unexpected JDWP handshake:

pnfsoftware.com | 5 months ago
  1. 0

    An introduction to JEB Android Debuggers | JEB2 Decompiler in Action

    pnfsoftware.com | 5 months ago
    java.io.IOException: Unexpected JDWP handshake:
  2. 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 | 6 months ago | Joseph Provino
    java.io.IOException: Target VM failed to handshake: unexpected byte #0: -128 (expected:74)
  3. 0
    Bad input data (not properly separated)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    If you are using maven you'd like to exclude your binaries from filtering process.
  6. 0
    Check for bad records in the input data (like '(null)')

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Unexpected JDWP handshake:

      at com.pnfsoftware.jebglobal.Uk.Lf()
    2. com.pnfsoftware.jebglobal
      Uk.Lf
      1. com.pnfsoftware.jebglobal.Uk.Lf(SourceFile:107)
      1 frame
    3. com.pnfsoftware.jeb
      DebuggerAttachHandler$1.call
      1. com.pnfsoftware.jeb.corei.debuggers.android.vm.Ep.attach(SourceFile:365)
      2. com.pnfsoftware.jeb.rcpclient.handlers.debugger.DebuggerAttachHandler$1.call(DebuggerAttachHandler.java:90)
      3. com.pnfsoftware.jeb.rcpclient.handlers.debugger.DebuggerAttachHandler$1.call(DebuggerAttachHandler.java:87)
      3 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames