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)

Reply via email to