Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8227233

com/sun/jdi/JdwpNetProps.java failed to attach

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 14
    • core-svc
    • x86_64
    • linux

      [debuggee] Listening for transport dt_socket at address: 35787
      Debuggee is listening on localhost:35787
      Connecting from 127.0.0.1, expected: Success
      ----------System.err:(23/1507)----------
      [debuggee] Debugger failed to attach: timeout during handshake
      java.lang.RuntimeException: ERROR: failed to attach
      at JdwpNetProps$ListenTest.run(JdwpNetProps.java:146)
      at JdwpNetProps.main(JdwpNetProps.java:66)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)
      Caused by: java.io.IOException: handshake failed - connection prematurally closed
      at jdk.jdi/com.sun.tools.jdi.SocketTransportService.handshake(SocketTransportService.java:137)
      at jdk.jdi/com.sun.tools.jdi.SocketTransportService.attach(SocketTransportService.java:271)
      at jdk.jdi/com.sun.tools.jdi.GenericAttachingConnector.attach(GenericAttachingConnector.java:119)
      at jdk.jdi/com.sun.tools.jdi.SocketAttachingConnector.attach(SocketAttachingConnector.java:83)
      at JdwpNetProps.attach(JdwpNetProps.java:174)
      at JdwpNetProps$ListenTest.run(JdwpNetProps.java:135)
      ... 7 more

            Unassigned Unassigned
            mikael Mikael Vidstedt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: