Yikes!
This I had not even noticed.
Customer and ServiceContext should both be inserted as Facts.
Some rules might need to be re-written:-
rule "Customer null check rule"
no-loop true
salience 1000
when
not ( Customer() )
then
throw new MissingEntryFault("Customer is required");
end
Hi Manstis, I see what you are saying, and yes I not doing any update in my
facts. If you see the rule file, there is global variable which defines the
Customer and ServiceContext and also I am declaring the Customer object
again in each rule.
This is because I could not get those global variables access in other
rules, can you tell me how to get those variables in other rules also.
Thanks,
Venkat.
--
View this message in context: http://drools.46999.n3.nabble.com/Eval0Invoker-java-lang-NullPointerException-tp3586222p3589057.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users