Hi Claus and Christian, thanks for your support. Using JAXB 2.2.6 helped it out. But I will also check for a newer JDK version. Kind regards, Christian
-----Ursprüngliche Mitteilung----- Von: Claus Ibsen-2 [via Camel] <ml-node+s465427n5726211...@n5.nabble.com> An: Christian Jacob <cjaco...@aol.com> Verschickt: Fr, 25 Jan 2013 7:42 am Betreff: Re: NullpointerException in ClassPathXmlApplicationContext On Fri, Jan 25, 2013 at 12:06 AM, Christian Müller <[hidden email]> wrote: > Camel 2.10.3 only supports Spring 3.0.x and 3.1.x. > Spring 3.2.x support is added in the upcoming Camel 2.11.0 release. > Which concrete JDK 1.7.0 version do you use? Some older ones had issues > with parsing XML documents. > Yeah the earlier version of JDK 1.7 was buggy. Also you may want to add JAXB 2.2.6 on the classpath which is newer and more reliable than what comes out of JDK. If you use Maven then camel-core has dependencies for that out of the box. > Sent from a mobile device > Am 24.01.2013 22:26 schrieb "Christian Jacob" <[hidden email]>: > >> >> Hi Claus, >> >> I'm using JDK 1.7.0, Camel 2.10.3, and Spring 3.2.0.RELEASE, and I'm >> running my tests in Eclipse Juno. >> >> Thanks for your help. Do you need more informations? >> >> Regards, >> Christian >> >> >> -----Ursprüngliche Mitteilung----- >> Von: Claus Ibsen-2 [via Camel] <[hidden email]> >> An: Christian Jacob <[hidden email]> >> Verschickt: Do, 24 Jan 2013 9:32 pm >> Betreff: Re: NullpointerException in ClassPathXmlApplicationContext >> >> >> On Thu, Jan 24, 2013 at 9:29 PM, Christian Jacob <[hidden email]> >> wrote: >> > Hi there, >> > I'm quite new to Camel and face some problems when building unit tests >> which >> > extend CamelSpringTestSupport. In the constructor of >> > <tt>ClassPathXmlApplicationContext</tt>, I oftenly (*but not always!*) >> get a >> > NullpointerException. This is the stack trace:<p/> >> > >> > >> > Can anybody help me? Many thanks in advance! >> > >> >> What JDK, Camel and Spring version do you use? >> >> >> >> > >> > >> > -- >> > View this message in context: >> http://camel.465427.n5.nabble.com/NullpointerException-in-ClassPathXmlApplicationContext-tp5726189.html >> > Sent from the Camel - Users mailing list archive at Nabble.com. >> >> >> >> -- >> Claus Ibsen >> ----------------- >> Red Hat, Inc. >> FuseSource is now part of Red Hat >> Email: [hidden email] >> Web: http://fusesource.com >> Twitter: davsclaus >> Blog: http://davsclaus.com >> Author of Camel in Action: http://www.manning.com/ibsen >> >> >> >> >> >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://camel.465427.n5.nabble.com/NullpointerException-in-ClassPathXmlApplicationContext-tp5726189p5726190.html >> >> To unsubscribe from NullpointerException >> in ClassPathXmlApplicationContext, click here. >> NAML >> >> >> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/NullpointerException-in-ClassPathXmlApplicationContext-tp5726189p5726202.html >> Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [hidden email] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen If you reply to this email, your message will be added to the discussion below: http://camel.465427.n5.nabble.com/NullpointerException-in-ClassPathXmlApplicationContext-tp5726189p5726211.html To unsubscribe from NullpointerException in ClassPathXmlApplicationContext, click here. NAML -- View this message in context: http://camel.465427.n5.nabble.com/NullpointerException-in-ClassPathXmlApplicationContext-tp5726189p5726293.html Sent from the Camel - Users mailing list archive at Nabble.com.