What Camel version are you using?
AFAIR its fixed in one of the latest releases.

On Sat, Aug 20, 2011 at 2:55 AM, Karthz <skart...@gmail.com> wrote:
> We have been getting a Camel MBean - Runtime Exception thrown in
> RequiredModelMBean when it's trying to invoke getRoutePolicyList. Has anyone
> seen this error? Any idea of what it is?
>
> Thanks!
>
>
>
> org.springframework.web.util.NestedServletException: Request processing
> failed; nested exception is javax.management.MBeanException:
> RuntimeException thrown in RequiredModelMBean while trying to invoke
> operation getRoutePolicyList
> ---
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out of
> range: -1
> at java.lang.AbstractStringBuilder.delete(AbstractStringBuilder.java:698)
> at java.lang.StringBuilder.delete(StringBuilder.java:255)
> at
> org.apache.camel.management.mbean.ManagedRoute.getRoutePolicyList(ManagedRoute.java:121)
> at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source)
>
>
>
> -----
> - Karthz
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/MBean-Runtime-Exception-in-getRoutePolicyList-tp4717413p4717413.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to