That is an old Camel version. You can try using a newer version. On Tue, Apr 5, 2016 at 4:46 PM, rburdet <rodrigo.bur...@semperti.com> wrote: > Camel version: 2.12.0 > > Stacktrace: > > Message History > --------------------------------------------------------------------------------------------------------------------------------------- > RouteId ProcessorId Processor > Elapsed (ms) > [timerToLog ] [timerToLog ] [timer://timerName?period=100000 > ] [ 10] > [timerToLog ] [setBody1 ] > [setBody[constant{filter=(ou=mathematicians)}] > ] [ 3] > [timerToLog ] [to1 ] > [spring-ldap:template?operation=search > ] [ 4] > > Exchange > --------------------------------------------------------------------------------------------------------------------------------------- > Exchange[ > Id ID-localhost-localdomain-45540-1459867547898-0-2 > ExchangePattern InOnly > Headers > {breadcrumbId=ID-localhost-localdomain-45540-1459867547898-0-1, > CamelRedelivered=false, CamelRedeliveryCounter=0, firedTime=Tue Apr 05 > 11:45:49 ART 2016} > BodyType String > Body filter=(ou=mathematicians) > ] > > Stacktrace > --------------------------------------------------------------------------------------------------------------------------------------- > java.lang.NullPointerException > at > org.apache.camel.component.springldap.SpringLdapProducer.process(SpringLdapProducer.java:69) > at > org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) > at > org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:132) > at > org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:307) > at > org.apache.camel.processor.SendProcessor.process(SendProcessor.java:127) > at > org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72) > at > org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398) > at > org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) > at org.apache.camel.processor.Pipeline.process(Pipeline.java:118) > at org.apache.camel.processor.Pipeline.process(Pipeline.java:80) > at > org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) > at > org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:139) > at > org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:64) > at java.util.TimerThread.mainLoop(Timer.java:555) > at java.util.TimerThread.run(Timer.java:505) > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Spring-ldap-configuration-problem-tp5780463p5780499.html > Sent from the Camel - Users mailing list archive at Nabble.com.
-- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2