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

BasicJDWPConnectionTest.java: RuntimeException: Could not detect port from ''

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 13
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b08

      Description

      ----------System.err:(22/1595)*----------

      Starting DefaultTest
      Command line: ['c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk12-jdk.1010\\windows-x64-debug.jdk\\jdk-12\\fastdebug/bin/java' '-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:0' '-cp' 'T:\\testOutput\\test-support\\jtreg_open_test_jdk_jdk_jdi\\classes\\com\\sun\\jdi\\BasicJDWPConnectionTest.d;T:\\testOutput\\test-support\\jtreg_open_test_jdk_jdk_jdi\\classes\\test\\lib' 'jdk.test.lib.apps.LingeredApp' '64df9b25-3e7f-46ea-9c61-34e6e0fa2b6e.lck' ]
       LingeredApp stdout: [Listening for transport dt_socket at address: 1343
      ];
       LingeredApp stderr: []
       LingeredApp exitValue = 0
      java.lang.RuntimeException: Could not detect port from ''
      at BasicJDWPConnectionTest.detectPort(BasicJDWPConnectionTest.java:78)
      at BasicJDWPConnectionTest.positiveTest(BasicJDWPConnectionTest.java:92)
      at BasicJDWPConnectionTest.DefaultTest(BasicJDWPConnectionTest.java:143)
      at BasicJDWPConnectionTest.main(BasicJDWPConnectionTest.java:193)
      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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
      at java.base/java.lang.Thread.run(Thread.java:835)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Could not detect port from ''


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Could not detect port from ''

        Attachments

          Activity

            People

            • Assignee:
              amenkov Alex Menkov
              Reporter:
              ljiang Leo Jiang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: