hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [VOTE] Release HttpAsyncClient 4.1.2 based on RC1
Date Mon, 13 Jun 2016 21:22:28 GMT
On Mon, Jun 13, 2016 at 10:16 AM, Oleg Kalnichevski <olegk@apache.org>
wrote:

> On Mon, 2016-06-13 at 09:54 -0700, Gary Gregory wrote:
> > On Mon, Jun 13, 2016 at 5:52 AM, Oleg Kalnichevski <olegk@apache.org>
> wrote:
> >
>
> ...
>
> > > Gary
> > >
> > > I relaxed the assert of exception type due to inconsistency in behavior
> > > on different OS platforms.
> > >
> > > Could you please run the latest SVN 4.1.x code [1] locally and let me
> > > know if the test still fails for you?
> > >
> >
> > Here you go:
> >
> >
> testConnectionRequestFailure(org.apache.http.nio.client.integration.TestHttpAsyncPrematureTermination)
> >  Time elapsed: 0.271 sec  <<< FAILURE!
> > java.lang.AssertionError: Unexpected cause:
> java.lang.IllegalStateException
> >         at org.junit.Assert.fail(Assert.java:88)
> >         at org.junit.Assert.assertTrue(Assert.java:41)
> >         at
> >
> org.apache.http.nio.client.integration.TestHttpAsyncPrematureTermination.testConnectionRequestFailure(TestHttpAsyncPrematureTermination.java:309)
> >
> > Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> > 2015-11-10T08:41:47-08:00)
> > Maven home: E:\Java\apache-maven-3.3.9
> > Java version: *1.8.0_91*, vendor: Oracle Corporation
> > Java home: C:\Program Files\Java\jdk1.8.0_91\jre
> > Default locale: en_US, platform encoding: Cp1252
> > OS name: "*windows 7*", version: "6.1", arch: "amd64", family: "dos"
> >
> > --
>
> Gary
> Could you please add this line prior to the assert (See patch attached)
> and send me the stack trace?

---
> cause.printStackTrace();
>

Here you go:

java.lang.IllegalStateException
at
org.apache.http.nio.client.integration.TestHttpAsyncPrematureTermination$7.responseReceived(TestHttpAsyncPrematureTermination.java:273)
at
org.apache.http.impl.nio.client.MainClientExec.responseReceived(MainClientExec.java:315)
at
org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseReceived(DefaultClientExchangeHandlerImpl.java:147)
at
org.apache.http.nio.protocol.HttpAsyncRequestExecutor.responseReceived(HttpAsyncRequestExecutor.java:303)
at
org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:255)
at
org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
at
org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:1)
at
org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
at
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:588)
at java.lang.Thread.run(Unknown Source)

Gary


> ---
> Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message