java.lang.RuntimeException: Error

JDK Bug System | Denis Kononenko | 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

    Test java/net/httpclient/TimeoutTest.java fails with the following output: ----------System.out:(9/716)---------- Test takes over 40 seconds SUBMITTED Wrong exception type:java.util.concurrent.CompletionException: java.net.ConnectException: Connection refused Wrong exception type:java.util.concurrent.CompletionException: java.net.ConnectException: Connection refused Wrong exception type:java.util.concurrent.CompletionException: java.net.ConnectException: Connection refused Wrong exception type:java.util.concurrent.CompletionException: java.net.ConnectException: Connection refused Wrong exception type:java.util.concurrent.CompletionException: java.net.ConnectException: Connection refused Wrong exception type:java.util.concurrent.CompletionException: java.net.ConnectException: Connection refused Expected 1 or 5. Got [0] ----------System.err:(15/877)---------- java.lang.RuntimeException: Error at TimeoutTest.checkReturnOrder(TimeoutTest.java:129) at TimeoutTest.dotest(TimeoutTest.java:88) at TimeoutTest.main(TimeoutTest.java:52) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Tested JDK: 9b120, 9b124, 9b127 Testsuite: Regression JDK Affected platforms: linux-arm-vfp-hflt, linux-x86, linux-x64 (the failure is not reproduced on linux-aarch64) Reproducibility: always Steps to reproduce: simply run the test with options -Xcomp -XX:+UseG1GC. The issue is reproduced neither with other GCs nor with -Xmixed.

    JDK Bug System | 7 months ago | Denis Kononenko
    java.lang.RuntimeException: Error

    Root Cause Analysis

    1. java.lang.RuntimeException

      Error

      at TimeoutTest.checkReturnOrder()
    2. Unknown
      TimeoutTest.main
      1. TimeoutTest.checkReturnOrder(TimeoutTest.java:129)
      2. TimeoutTest.dotest(TimeoutTest.java:88)
      3. TimeoutTest.main(TimeoutTest.java:52)
      3 frames