Yeah and also dig up that source code line number where the NPE is to maybe try to know what is null and maybe try to reason why it may be null. Maybe some of that spring ldap template lookup stuff is not correct
On Thu, Apr 7, 2016 at 4:20 PM, Walzer, Thomas <[email protected]> wrote: > Sorry, I have only generic ideas: > > Have you tried the „normal/non-spring“ ldap-component? > Have you tried to set Debug to TRACE? > > Cheers, Thomas. > >> Am 06.04.2016 um 07:06 schrieb Claus Ibsen <[email protected]>: >> >> That is an old Camel version. You can try using a newer version. >> >> On Tue, Apr 5, 2016 at 4:46 PM, rburdet <[email protected]> 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 > -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
