JDK-8160830 : java/net/httpclient/http2/TLSConnection.java failed: java.io.IOException: Engine closed
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86_64
  • Submitted: 2016-07-05
  • Updated: 2016-07-28
  • Resolved: 2016-07-06
Related Reports
Duplicate :  
Description
Jul 05, 2016 4:23:46 AM java.net.http.PlainHttpConnection close
INFO: ERROR: Closing: PlainHttpConnection: HttpConnection: java.nio.channels.SocketChannel[connected local=/127.0.0.1:17189 remote=/127.0.0.1:47646]
Jul 05, 2016 4:23:46 AM java.net.http.PlainHttpConnection close
INFO: ERROR: Closing: PlainHttpConnection: HttpConnection: java.nio.channels.SocketChannel[connected local=/127.0.0.1:17190 remote=/127.0.0.1:47646]
Jul 05, 2016 4:23:46 AM java.net.http.Http2Connection shutdown
INFO: ERROR: java.io.IOException: Engine closed
	at java.net.http.AsyncSSLDelegate.unwrapBuffer(java.httpclient@9-ea/AsyncSSLDelegate.java:432)
	at java.net.http.AsyncSSLDelegate.upperRead(java.httpclient@9-ea/AsyncSSLDelegate.java:468)
	at java.net.http.Queue.put(java.httpclient@9-ea/Queue.java:79)
	at java.net.http.AsyncSSLDelegate.lowerRead(java.httpclient@9-ea/AsyncSSLDelegate.java:451)
	at java.net.http.PlainHttpConnection.asyncRead(java.httpclient@9-ea/PlainHttpConnection.java:250)
	at java.net.http.PlainHttpConnection$ReadEvent.handle(java.httpclient@9-ea/PlainHttpConnection.java:333)
	at java.net.http.HttpClientImpl$SelectorManager.handleEvent(java.httpclient@9-ea/HttpClientImpl.java:331)
	at java.net.http.HttpClientImpl$SelectorManager.run(java.httpclient@9-ea/HttpClientImpl.java:301)

java.io.IOException: java.lang.InterruptedException
	at java.net.http.Queue.take(java.httpclient@9-ea/Queue.java:114)
	at java.net.http.Http2TestServerConnection.writeLoop(java.httpclient@9-ea/Http2TestServerConnection.java:471)
	at java.net.http.Http2TestServerConnection.lambda$run$2(java.httpclient@9-ea/Http2TestServerConnection.java:171)
	at java.util.concurrent.Executors$RunnableAdapter.call(java.base@9-ea/Executors.java:514)
	at java.util.concurrent.FutureTask.run(java.base@9-ea/FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1158)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:632)
	at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
Caused by: java.lang.InterruptedException
	at java.lang.Object.wait(java.base@9-ea/Native Method)
	at java.lang.Object.wait(java.base@9-ea/Object.java:516)
	at java.net.http.Queue.take(java.httpclient@9-ea/Queue.java:107)
	... 7 more
java.lang.RuntimeException: At least one test case failed
	at TLSConnection.main(TLSConnection.java:119)
	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)
Jul 05, 2016 4:23:46 AM java.net.http.Http2Connection shutdown
INFO: ERROR: java.io.IOException: Engine closed
	at java.net.http.AsyncSSLDelegate.unwrapBuffer(java.httpclient@9-ea/AsyncSSLDelegate.java:432)
	at java.net.http.AsyncSSLDelegate.upperRead(java.httpclient@9-ea/AsyncSSLDelegate.java:468)
	at java.net.http.Queue.put(java.httpclient@9-ea/Queue.java:79)
	at java.net.http.AsyncSSLDelegate.lowerRead(java.httpclient@9-ea/AsyncSSLDelegate.java:451)
	at java.net.http.PlainHttpConnection.asyncRead(java.httpclient@9-ea/PlainHttpConnection.java:250)
	at java.net.http.PlainHttpConnection$ReadEvent.handle(java.httpclient@9-ea/PlainHttpConnection.java:333)
	at java.net.http.HttpClientImpl$SelectorManager.handleEvent(java.httpclient@9-ea/HttpClientImpl.java:331)
	at java.net.http.HttpClientImpl$SelectorManager.run(java.httpclient@9-ea/HttpClientImpl.java:301)

java.io.IOException: java.lang.InterruptedException
	at java.net.http.Queue.take(java.httpclient@9-ea/Queue.java:114)
	at java.net.http.Http2TestServerConnection.writeLoop(java.httpclient@9-ea/Http2TestServerConnection.java:471)
	at java.net.http.Http2TestServerConnection.lambda$run$2(java.httpclient@9-ea/Http2TestServerConnection.java:171)
	at java.util.concurrent.Executors$RunnableAdapter.call(java.base@9-ea/Executors.java:514)
	at java.util.concurrent.FutureTask.run(java.base@9-ea/FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1158)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:632)
	at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
Caused by: java.lang.InterruptedException
	at java.lang.Object.wait(java.base@9-ea/Native Method)
	at java.lang.Object.wait(java.base@9-ea/Object.java:516)
	at java.net.http.Queue.take(java.httpclient@9-ea/Queue.java:107)
	... 7 more

Jul 05, 2016 4:23:46 AM java.net.http.Http2Connection shutdown
INFO: ERROR: java.io.IOException: Connection aborted
	at java.net.http.PlainHttpConnection.shutdown(java.httpclient@9-ea/PlainHttpConnection.java:232)
	at java.net.http.PlainHttpConnection.asyncRead(java.httpclient@9-ea/PlainHttpConnection.java:253)
	at java.net.http.PlainHttpConnection$ReadEvent.handle(java.httpclient@9-ea/PlainHttpConnection.java:333)
	at java.net.http.HttpClientImpl$SelectorManager.handleEvent(java.httpclient@9-ea/HttpClientImpl.java:331)
	at java.net.http.HttpClientImpl$SelectorManager.run(java.httpclient@9-ea/HttpClientImpl.java:301)

JavaTest Message: Test threw exception: java.lang.RuntimeException: At least one test case failed
JavaTest Message: shutting down test
Jul 05, 2016 4:23:46 AM java.net.http.Http2Connection shutdown
INFO: ERROR: java.io.IOException: Connection aborted
	at java.net.http.PlainHttpConnection.shutdown(java.httpclient@9-ea/PlainHttpConnection.java:232)
	at java.net.http.PlainHttpConnection.asyncRead(java.httpclient@9-ea/PlainHttpConnection.java:253)
	at java.net.http.PlainHttpConnection$ReadEvent.handle(java.httpclient@9-ea/PlainHttpConnection.java:333)
	at java.net.http.HttpClientImpl$SelectorManager.handleEvent(java.httpclient@9-ea/HttpClientImpl.java:331)
	at java.net.http.HttpClientImpl$SelectorManager.run(java.httpclient@9-ea/HttpClientImpl.java:301)


Comments
I think JDK-8157482 tracks this test failures, and Arterm is working on such issues.
06-07-2016