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-opt...
Sent from the Drools: User forum mailing list archive at
Nabble.com.