You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Amit Rokach (JIRA)" <ji...@apache.org> on 2014/12/28 11:10:13 UTC
[jira] [Created] (CAMEL-8187) Ref count exception when throwing on
NettyHttpOperationFailedException
Amit Rokach created CAMEL-8187:
----------------------------------
Summary: Ref count exception when throwing on NettyHttpOperationFailedException
Key: CAMEL-8187
URL: https://issues.apache.org/jira/browse/CAMEL-8187
Project: Camel
Issue Type: Bug
Components: camel-netty4-http
Affects Versions: 2.14.1
Reporter: Amit Rokach
When catching "NettyHttpOperationFailedException" with "onException" - I've noticed that I'm getting:
'io.netty.util.IllegalReferenceCountException' - cannot evaluate io.netty.handler.codec.http.HttpObjectAggregator$AggregatedFullHttpRequest.toString() - (As can be seen on screenshot.jpeg attached file)
I've created a small app to reproduce the issue - you'll need to run the UT on the attached zip.
when stopping on debug inside the onException clause and trying to inspect the exchange "In" message you can see the exception.
Thx,
Amit.
P.S originally I've got the exception thrown during my real application running. in the example I'm setting the netty exception on the exchange "artificially" - the result however is the same.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)