-
Type:
Bug
-
Status: Closed
-
Priority:
Blocker
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:
- JBoss Fuse 6.1
The customer has reported that from time to time they can see the following stacktrace in the logs. They create Netty producers using the recipient list.
org.jboss.netty.channel.ChannelPipelineException: Failed to initialize a pipeline.
|
at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:208)[257:org.jboss.netty:3.9.3.Final]
|
at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:182)[257:org.jboss.netty:3.9.3.Final]
|
at org.apache.camel.component.netty.NettyProducer.openConnection(NettyProducer.java:386)[258:org.apache.camel.camel-netty:2.12.0.redhat-611416]
|
at org.apache.camel.component.netty.NettyProducer$NettyProducerPoolableObjectFactory.makeObject(NettyProducer.java:522)[258:org.apache.camel.camel-netty:2.12.0.redhat-611416]
|
at org.apache.camel.component.netty.NettyProducer$NettyProducerPoolableObjectFactory.makeObject(NettyProducer.java:518)[258:org.apache.camel.camel-netty:2.12.0.redhat-611416]
|
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)[130:org.apache.commons.pool:1.6.0]
|
at org.apache.camel.component.netty.NettyProducer.process(NettyProducer.java:226)[258:org.apache.camel.camel-netty:2.12.0.redhat-611416]
|
at org.apache.camel.component.netty.http.NettyHttpProducer.process(NettyHttpProducer.java:51)[259:org.apache.camel.camel-netty-http:2.12.0.redhat-611416]
|
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)[142:org.apache.camel.camel-core:2.12.0.redhat-611416]
|
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[142:org.apache.camel.camel-core:2.12.0.redhat-611416]
|
at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:574)[142:org.apache.camel.camel-core:2.12.0.redhat-611416]
|
at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:507)[142:org.apache.camel.camel-core:2.12.0.redhat-611416]
|
at org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:216)[142:org.apache.camel.camel-core:2.12.0.redhat-611416]
|
at org.apache.camel.processor.RecipientList.sendToRecipientList(RecipientList.java:166)[142:org.apache.camel.camel-core:2.12.0.redhat-611416]
|
at org.apache.camel.processor.RecipientList.process(RecipientList.java:119)[142:org.apache.camel.camel-core:2.12.0.redhat-611416]
|
...
|
Caused by: java.lang.NullPointerException: timer
|
at org.jboss.netty.handler.timeout.ReadTimeoutHandler.<init>(ReadTimeoutHandler.java:115)[257:org.jboss.netty:3.9.3.Final]
|
at org.apache.camel.component.netty.http.HttpClientPipelineFactory.getPipeline(HttpClientPipelineFactory.java:89)[259:org.apache.camel.camel-netty-http:2.12.0.redhat-611416]
|
at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:206)[257:org.jboss.netty:3.9.3.Final]
|
... 62 more
|
It looks like the NettyComponent#getTimer() returns null from time to time.