[
https://issues.apache.org/jira/browse/HTTPCORE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPCORE-404.
----------------------------------------
Resolution: Cannot Reproduce
Benson
I ran the test sequence through several million repetitions with Java 1.8.40 on
my Debian 8 while several processes in the background. I cannot reproduce the
issue. This may have to do with my system being a fairly low end ultrabook or
some other factor. Can you think of anything besides Java RE version that may
be significant, like load on the system, or something else?
Oleg
> 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}
> It's fine building with 1.7.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]