Hi,

I'm running camel inside karaf 2.2.5, bootstrapping the camel context with
Spring DM.

I also could not reproduce it with a basic unit test like the ones in the
camel-core source tree.  However I can reproduce it with the
camel-maven-plugin ( mvn camel:run ):

*************************************
Error occurred while running main from: org.apache.camel.spring.Main
java.lang.reflect.InvocationTargetException
        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.apache.camel.maven.RunMojo$1.run(RunMojo.java:416)
        at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.StackOverflowError
        at
org.apache.camel.model.RouteDefinition.toString(RouteDefinition.java:116)
        at java.lang.String.valueOf(String.java:2826)
        at java.lang.StringBuilder.append(StringBuilder.java:115)
... etc ...

Thanks for looking into this.

Jerry


--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-2-9-0-StackOverflowError-initializing-route-with-otherwise-clause-tp5110599p5113396.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to