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

java/net/httpclient/http2/ConnectionFlowControlTest.java fails with java.lang.AssertionError: ProtocolException("protocol error: connection window exceeded") not found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • core-libs

      test ConnectionFlowControlTest.test("http://127.0.0.1:60026/http2/x"): failure [481ms]
      java.lang.AssertionError: ProtocolException("protocol error: connection window exceeded") not found
      at ConnectionFlowControlTest.assertDetailMessage(ConnectionFlowControlTest.java:251)
      at ConnectionFlowControlTest.test(ConnectionFlowControlTest.java:217)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
      at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
      at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
      at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
      at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
      at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
      at org.testng.TestRunner.privateRun(TestRunner.java:764)
      at org.testng.TestRunner.run(TestRunner.java:585)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
      at org.testng.SuiteRunner.run(SuiteRunner.java:286)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
      at org.testng.TestNG.runSuites(TestNG.java:1069)
      at org.testng.TestNG.run(TestNG.java:1037)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:107)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:63)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1474)
      Caused by: java.io.IOException: Connection closed
      at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:1010)
      at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133)
      at ConnectionFlowControlTest.test(ConnectionFlowControlTest.java:143)
      ... 29 more
      Caused by: java.io.IOException: Connection closed
      at java.net.http/jdk.internal.net.http.Http2Connection.registerNewStream(Http2Connection.java:1748)
      at java.net.http/jdk.internal.net.http.Http2Connection.sendFrame(Http2Connection.java:1782)
      at java.net.http/jdk.internal.net.http.Stream.sendHeadersAsync(Stream.java:1046)
      at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl$0(Exchange.java:623)
      at java.net.http/jdk.internal.net.http.Exchange.checkFor407(Exchange.java:472)
      at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl$2(Exchange.java:627)
      at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:955)
      at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:971)
      at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2399)
      at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:627)
      at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:449)
      at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:483)
      at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$0(MultiExchange.java:402)
      at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1171)
      at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:531)
      at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1794)
      at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:186)
      at java.base/java.util.concurrent.CompletableFuture.completeAsync(CompletableFuture.java:2761)
      at java.net.http/jdk.internal.net.http.MultiExchange.responseAsync(MultiExchange.java:348)
      at java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:1094)
      at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:969)
      ... 31 more

            vyazici Volkan Yazici
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: