You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/10/31 19:51:17 UTC

[jira] [Created] (CAMEL-6921) camel-netty - producer channel pool should not close channel on destroy from pool, but noop

Claus Ibsen created CAMEL-6921:
----------------------------------

             Summary: camel-netty - producer channel pool should not close channel on destroy from pool, but noop
                 Key: CAMEL-6921
                 URL: https://issues.apache.org/jira/browse/CAMEL-6921
             Project: Camel
          Issue Type: Bug
          Components: camel-netty
    Affects Versions: 2.12.1, 2.11.2, 2.10.7
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.11.3, 2.12.2, 2.13.0


This can lead to a NPE in message received in ClientChannelHandler

{code}
2013-10-31 13:03:18,046 | DEBUG | w I/O  worker #1 | NettyProducer                    | ?                                   ? | 234 - org.apache.camel.camel-netty - 2.10.6 | Closing channel as an exception was thrown from Netty
java.lang.NullPointerException
	at org.apache.camel.util.ExchangeHelper.isOutCapable(ExchangeHelper.java:370)
	at org.apache.camel.component.netty.handlers.ClientChannelHandler.messageReceived(ClientChannelHandler.java:145)
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
	at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:458)
	at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:439)
	at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
	at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:84)
	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:471)
	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:332)
	at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_45]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_45]
	at java.lang.Thread.run(Thread.java:744)[:1.7.0_45]
{code}





--
This message was sent by Atlassian JIRA
(v6.1#6144)