Benson Margulies created HTTPCORE-404:
-----------------------------------------

             Summary: Build fails with Java 1.8; unit test throws
                 Key: HTTPCORE-404
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-404
             Project: HttpComponents HttpCore
          Issue Type: Bug
          Components: HttpCore NIO
            Reporter: Benson Margulies


 I am on the 4.4.x branch, and got:

{noformat}
testHttpHeads[http](org.apache.http.nio.integration.TestHttpAsyncHandlersPipelining)
  Time elapsed: 5.034 sec  <<< ERROR!
java.util.concurrent.ExecutionException: java.net.SocketTimeoutException
        at org.apache.http.concurrent.BasicFuture.getResult(BasicFuture.java:70)
        at org.apache.http.concurrent.BasicFuture.get(BasicFuture.java:80)
        at 
org.apache.http.nio.integration.TestHttpAsyncHandlersPipelining.testHttpHeads(TestHttpAsyncHandlersPipelining.java:202)
Caused by: java.net.SocketTimeoutException: null
        at 
org.apache.http.nio.protocol.HttpAsyncRequestExecutor.timeout(HttpAsyncRequestExecutor.java:354)
        at 
org.apache.http.impl.nio.DefaultHttpClientIODispatch.onTimeout(DefaultHttpClientIODispatch.java:176)
        at 
org.apache.http.impl.nio.DefaultHttpClientIODispatch.onTimeout(DefaultHttpClientIODispatch.java:51)
        at 
org.apache.http.impl.nio.reactor.AbstractIODispatch.timeout(AbstractIODispatch.java:177)
        at 
org.apache.http.impl.nio.reactor.BaseIOReactor.sessionTimedOut(BaseIOReactor.java:265)
        at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.timeoutCheck(AbstractIOReactor.java:494)
        at 
org.apache.http.impl.nio.reactor.BaseIOReactor.validate(BaseIOReactor.java:215)
        at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:282)
        at 
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
        at 
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:590)
        at java.lang.Thread.run(Thread.java:745)
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to