Hmm, I tried 5.2.0, and it doesn't even compile when I call a global's method.
-W
On 20/01/2012, Wolfgang Laun <wolfgang.laun(a)gmail.com> wrote:
Strange - I see a full stack trace. Must look into this, can't
have
suppressed important info. There's an improved consequence exception
handler available with 5.3.0.
-W
On 20/01/2012, domingo <sprabakkar(a)gmail.com> wrote:
> First of all thanks for your reply,
> I agree with you, the concern here is syntactically drl file is ok and it
> compiles and build the knowledgebase.
> In run time consequence part get executed in that time it noticed global
> is
> null, this behavior is just like a java NPE. The point here is the
> message
> displayed is not like java stacktrace insted drools exception message
> simply
> saying /"org.drools.runtime.rule.ConsequenceException: rule: order
> approve
> rule" /, So debugging is harder for new developers (i am ). It would be
> helpful to provide some relavent stack trace.
> I am using 5.2 final...may be i try 5.3 final.
>
> -----
> with kind regards,
>
> --
> View this message in context:
>
http://drools.46999.n3.nabble.com/Global-variable-error-message-tp3673889...
> Sent from the Drools: User forum mailing list archive at
Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>