Ok, I still don't understand why my new rule is not taken in account... So, I came back to my previous code and I realize that I have the expected results anyway. What I'm doing is: 1- FireAllRules (mandatory call to not have the NullPointerException) 2- Add a new rule 3- FireAllRules again
As the session used is the same all along the process, all the expected rules to be triggered are triggered once at step 1 and step 3. So, it's ok -- View this message in context: http://drools.46999.n3.nabble.com/NullPointerException-at-org-drools-compiler-kie-builder-impl-KieContainerImpl-updateToVersion-tp4029894p4030019.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