Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-775

Netty doesn't handle well tcp connections and throws Exception

    XMLWordPrintable

Details

    Description

      The LengthFieldBasedFrameDecoder throw exception after a while.

      2.10.0.redhat-60024 | 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)[235:org.jboss.netty:3.5.11.Final]
      	at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:458)[235:org.jboss.netty:3.5.11.Final]
      	at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:439)[235:org.jboss.netty:3.5.11.Final]
      	at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)[235:org.jboss.netty:3.5.11.Final]
      	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)[235:org.jboss.netty:3.5.11.Final]
      	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)[235:org.jboss.netty:3.5.11.Final]
      	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_25]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_25]
      	at java.lang.Thread.run(Thread.java:724)[:1.7.0_25]
      

      Attachments

        Activity

          People

            cibsen@redhat.com Claus Ibsen
            luan.cestari Luan Cestari (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: