Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Netty and requestTimeout

$
0
0
Hi,

I'm having problems with requestTimeout on a Netty component. A
NullPointerException raises when camel tries to get UnitOfWork. It looks
like the timeout is raising even though there is no current inflight
exchange. Any ideas? Thanks.

An exception was thrown by a user handler while handling an exception event
([id: 0x0763787d, /10.172.10.125:39622 :> /192.168.1.1:4004] EXCEPTION:
org.jboss.netty.handler.timeout.ReadTimeoutException)
java.lang.NullPointerException
at
org.apache.camel.processor.RedeliveryErrorHandler.processAsyncErrorHandler(RedeliveryErrorHandler.java:486)
at
org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:409)
at org.apache.camel.impl.ProducerCache$1.done(ProducerCache.java:321)
at
org.apache.camel.processor.SendProcessor$2$1.done(SendProcessor.java:127)
at
org.apache.camel.component.netty.NettyProducer$NettyProducerCallback.done(NettyProducer.java:461)
at
org.apache.camel.component.netty.handlers.ClientChannelHandler.exceptionCaught(ClientChannelHandler.java:90)
at org.jboss.netty.channel.Channels.fireExceptionCaught(Channels.java:536)
at
org.jboss.netty.handler.timeout.ReadTimeoutHandler.readTimedOut(ReadTimeoutHandler.java:236)
at
org.jboss.netty.handler.timeout.ReadTimeoutHandler$ReadTimeoutTask$1.run(ReadTimeoutHandler.java:276)
at
org.jboss.netty.channel.socket.ChannelRunnableWrapper.run(ChannelRunnableWrapper.java:40)
at
org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:366)
at
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:290)
at
org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:90)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Viewing all articles
Browse latest Browse all 5648

Trending Articles