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.