hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: java.lang.IllegalArgumentException: at ChunkEncoder
Date Wed, 17 Dec 2014 09:14:11 GMT
On Wed, 2014-12-17 at 14:32 +0530, Ratha v wrote:
> Hi all;
> We use apache http core_nio(v 4.2.3) , httpcore-v4.30 libraries in apache
> synapse passthru transport.
> In one error condition, (which i could not reproduce now) we got the
> following error[1]
> 
> Could someone point me what type of network error caused this issue?
> 

This is more likely to be a logical error in ChunkEncoder than a network
error of any sort. Regardless, please upgrade to HC 4.3 or 4.4 as 4.2 is
no longer actively maintained.

Oleg 

> [1]ERROR {org.apache.synapse.transport.passthru.TargetHandler} - Error
> occurred while writing data to the target
> {org.apache.synapse.transport.passthru.TargetHandler}
> java.lang.IllegalArgumentException
>         at java.nio.Buffer.limit(Buffer.java:267)
>         at
> org.apache.http.impl.nio.codecs.ChunkEncoder.write(ChunkEncoder.java:100)
>         at
> org.apache.synapse.transport.passthru.Pipe.consume(Pipe.java:140)
>         at
> org.apache.synapse.transport.passthru.TargetRequest.write(TargetRequest.java:360)
>         at
> org.apache.synapse.transport.passthru.TargetHandler.outputReady(TargetHandler.java:186)
>         at
> org.apache.http.impl.nio.DefaultNHttpClientConnection.produceOutput(DefaultNHttpClientConnection.java:230)
>         at
> org.apache.synapse.transport.http.conn.LoggingNHttpClientConnection.produceOutput(LoggingNHttpClientConnection.java:114)
>         at
> org.apache.synapse.transport.passthru.ClientIODispatch.onOutputReady(ClientIODispatch.java:88)
>         at
> org.apache.synapse.transport.passthru.ClientIODispatch.onOutputReady(ClientIODispatch.java:41)
>         at
> org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:141)
>         at
> org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:181)
> 
> 
> Thanks



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


Mime
View raw message