camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Anderson <alexanderandersonofando...@gmail.com>
Subject Re: Logging causes NullPointerException
Date Wed, 20 Jun 2012 08:19:55 GMT
> When my route is shutting down in Camel 2.9.2, I get a
> NullPointerException on line 108 of SedaConsumer.  The line reads:

Full stacktrace:

class org.apache.camel.RuntimeCamelException : java.lang.NullPointerException
	org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1221)
	org.apache.camel.impl.DefaultShutdownStrategy.doShutdown(DefaultShutdownStrategy.java:165)
	org.apache.camel.impl.DefaultShutdownStrategy.shutdown(DefaultShutdownStrategy.java:100)
	org.apache.camel.impl.DefaultShutdownStrategy.shutdown(DefaultShutdownStrategy.java:87)
	org.apache.camel.impl.DefaultCamelContext.stopRoute(DefaultCamelContext.java:772)
	org.apache.camel.impl.DefaultCamelContext.removeRouteDefinition(DefaultCamelContext.java:688)
	org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:649)
	org.apache.camel.model.ModelCamelContext$addRouteDefinitions.call(Unknown
Source)
	frontlinesms2.FconnectionService.createRoutes(FconnectionService.groovy:27)
	frontlinesms2.FconnectionService$$FastClassByCGLIB$$49201249.invoke(<generated>)
	net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
	org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
	frontlinesms2.FconnectionService$$EnhancerByCGLIB$$90ff309c.createRoutes(<generated>)
	frontlinesms2.FconnectionService$createRoutes.call(Unknown Source)
	frontlinesms2.CreateRouteJob.execute(CreateRouteJob.groovy:8)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:597)
	com.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1231)
	grails.plugin.quartz2.GrailsArtefactJob.execute(GrailsArtefactJob.java:57)
	org.quartz.core.JobRunShell.run(JobRunShell.java:213)
	org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
class java.lang.NullPointerException : null
	org.apache.camel.component.seda.SedaConsumer.prepareShutdown(SedaConsumer.java:108)
	org.apache.camel.impl.DefaultShutdownStrategy$ShutdownTask.run(DefaultShutdownStrategy.java:472)
	java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	java.util.concurrent.FutureTask.run(FutureTask.java:138)
	java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	java.lang.Thread.run(Thread.java:662)

Mime
View raw message