[rules-users] MVEL Expression causing NPE in MVEL optimizer

womuji cmregister at gmail.com
Wed Feb 22 08:19:46 EST 2012


I found the issue: I have to set all the globals before inserting any facts:

cmds.add(CommandFactory.newSetGlobal( "addressManager", addressManager,
true)); 
...
cmds.add(CommandFactory.newInsert(event));



--
View this message in context: http://drools.46999.n3.nabble.com/MVEL-Expression-causing-NPE-in-MVEL-optimizer-tp3733427p3766434.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list