camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Any idea why this simple splitter is not working in 2.10-SNAPSHOT
Date Fri, 04 May 2012 08:15:01 GMT
Hi

Do you have mixed versions of Camel on the classpath?
Make sure camel-jaxb and camel-core uses the same version.



On Thu, May 3, 2012 at 8:17 PM, soumya_sd <soumya_sd@yahoo.com> wrote:
> @Claus -
>
> I added the e.printStackTrace() to BeanProcessor and got the following
> exception in the logs. Also, I got a bunch of exceptions in the tests while
> building the camel-core SNAPSHOT. I'm attaching the complete log for your
> reference.
>
> Thanks.
> http://camel.465427.n5.nabble.com/file/n5683975/camel_core_SNAPSHOT_build_log.txt
> camel_core_SNAPSHOT_build_log.txt
>
> [         http-bio-8080-exec-96] Tracer                         INFO
> ID-xxxxx-49234-1336068763821-0-2 >>> (route1) log[before split the body is
> ${body}] --> split[BeanExpression[xxxxxx.GooglePlaceSplitter@70a1ce20
> method: splitResponse]] <<< Pattern:InOut,
> Headers:{X-Frame-Options=SAMEORIGIN, Vary=Accept-Language, Server=mafe,
> breadcrumbId=ID-xxxxx-49234-1336068763821-0-1, Date=Thu, 03 May 2012
> 18:07:08 GMT, Transfer-Encoding=chunked, CamelHttpMethod=GET,
> X-XSS-Protection=1; mode=block, CamelHttpResponseCode=200,
> Content-Type=application/json; charset=UTF-8, Cache-Control=private},
> BodyType:xxxxxx.GooglePlaceResponseObject,
> Body:xxxxxx.GooglePlaceResponseObject@32e6fc3a
> java.lang.AbstractMethodError:
> org.apache.camel.converter.jaxb.FallbackTypeConverter.tryConvertTo(Ljava/lang/Class;Lorg/apache/camel/Exchange;Ljava/lang/Object;)Ljava/lang/Object;
>        at
> org.apache.camel.impl.converter.BaseTypeConverterRegistry.doConvertTo(BaseTypeConverterRegistry.java:287)
>        at
> org.apache.camel.impl.converter.BaseTypeConverterRegistry.tryConvertTo(BaseTypeConverterRegistry.java:191)
>        at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:78)
>        at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:47)
>        at
> org.apache.camel.builder.ExpressionBuilder$35.evaluate(ExpressionBuilder.java:840)
>        at
> org.apache.camel.support.ExpressionAdapter.evaluate(ExpressionAdapter.java:36)
>        at
> org.apache.camel.component.bean.MethodInfo$2.evaluateParameterBinding(MethodInfo.java:510)
>        at
> org.apache.camel.component.bean.MethodInfo$2.evaluate(MethodInfo.java:409)
>        at
> org.apache.camel.component.bean.MethodInfo.createMethodInvocation(MethodInfo.java:210)
>        at
> org.apache.camel.component.bean.BeanInfo.createInvocation(BeanInfo.java:232)
>        at
> org.apache.camel.component.bean.BeanInfo.createInvocation(BeanInfo.java:162)
>        at
> org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:149)
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>        at
> org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:73)
>        at
> org.apache.camel.language.bean.BeanExpression$InvokeProcessor.process(BeanExpression.java:162)
>        at
> org.apache.camel.language.bean.BeanExpression.evaluate(BeanExpression.java:115)
>        at
> org.apache.camel.language.bean.BeanExpression.evaluate(BeanExpression.java:124)
>        at
> org.apache.camel.processor.Splitter.createProcessorExchangePairs(Splitter.java:101)
>        at
> org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:209)
>        at org.apache.camel.processor.Splitter.process(Splitter.java:96)
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:71)
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>        at
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>        at
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:333)
>        at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:223)
>        at
> org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>        at
> org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>        at org.apache.camel.processor.Pipeline.process(Pipeline.java:117)
>        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
>        at
> org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>        at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:122)
>        at
> org.apache.camel.processor.RouteInflightRepositoryProcessor.processNext(RouteInflightRepositoryProcessor.java:48)
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:71)
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>        at
> org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:61)
>        at
> org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:150)
>        at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:117)
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:86)
>        at
> org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:63)
>        at
> org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:352)
>        at
> org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:324)
>        at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:223)
>        at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:324)
>        at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:186)
>        at
> org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:115)
>        at
> org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:102)
>        at
> org.apache.camel.impl.DefaultProducerTemplate.request(DefaultProducerTemplate.java:280)
>        at
> edu.cmu.sei.rtss.edge.emontageserver.JSONController.makeGooglePlaceCall(JSONController.java:34)
>        at
> edu.cmu.sei.rtss.edge.emontageserver.JSONController.getShopInJSON(JSONController.java:21)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
>        at
> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
>        at
> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
>        at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
>        at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
>        at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
>        at
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>        at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
>        at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
>        at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>        at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
>        at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>        at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
>        at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
>        at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
>        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:680)
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Any-idea-why-this-simple-splitter-is-not-working-in-2-10-SNAPSHOT-tp5678336p5683975.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message