Hi Do you use any interceptor in your unit test such as indicate in the stacktrace? InterceptSendToEndpoint
Can you post the code snippet where you use that? On Tue, Mar 13, 2012 at 2:25 PM, hefiso <[email protected]> wrote: > Hi > > When upgrading from Apache Camel 2.9.0 to 2.9.1 I suddently get an error > when using camel-cxf endpoints. > > I have defined this endpoint: > > > and use it in this route: > > > When running my JUnit tests (extending CamelSpringTestSupport) I get this > exception: > > > When I debug my test I see that the method doStart() in CxfProducer is never > called, resulting in client being null (hence the NullPointerException in > CxfProducer.java:331 ). > > In my POM I use these dependencies: > > > Any suggestions on how to avoid this problem, besides downgrading to 2.9.0? > > Best regards > Henrik > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Error-using-apache-cxf-w-Camel-2-9-1-tp5560906p5560906.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
