[rules-users] Mvel compilation error

Edson Tirelli tirelli at post.com
Fri Jul 18 10:57:03 EDT 2008


   Hey John, I know it is difficult, but we need some way to reproduce...
can you isolate a few rules and run them in a loop trying to force the
exception?


2008/7/17 John Squire <jc_squire at hotmail.com>:

>  Hi All,
>
> We are intermittently getting mvel compilation errors with the following:
>
> Caused by: java.lang.IllegalArgumentException: object is not an instance of
> declaring class
>         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:585)
>         at
> org.mvel.optimizers.impl.refl.MethodAccessor.getValue(MethodAccessor.java:61)
>         ... 148 more
>
> The rules compile ok and the application will run normally (rules
> processing successfully) for a few days then this error will occur. Tried to
> replicate but once the application is restarted the last action before the
> failure is repeated and always processes successfully.
>
> Any help would be appreciated.
>
> Regards
> JS
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
Edson Tirelli
JBoss Drools Core Development
JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080718/8094f9f2/attachment.html 


More information about the rules-users mailing list