Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
7.5.0.Final
-
-
Migration, Compatibility/Configuration
-
Medium
-
NEW
-
NEW
-
gibran-castillo
Description
I upgraded my Drools 5.x (drools-compiler 5.2.1.Final, drools-decisiontables 5.4.0.Final, and drools-templates 5.4.0.Final; jbpm-flow 5.1.1.Final, jbpm-bmpn2 5.1.1.Final and with their respective dependencies) Java 1.7.0_21 job to drools 7.5.0 and use kie-api/kie-ci and Java 1.8.0_162; I had to do some refactoring because now drools is part of the KIE (Knowledge Is Everything) umbrella, specifically the code below:
KieServices ks = KieServices.Factory.get();
KieContainer kc = ks.getKieClasspathContainer();
KieSession ks = kc.newKieSession("ksession-dtables"); //stateful session
FactHandle fh = ks.insert(fact);
ks.fireAllRules();
....
I added the pom.properties file and kmodule.xml file. The java job builds successfully. When I run the java job the packages and rules are loaded into the Knowledge Base but only the first rules fire up and then it stops or ends.
This seems to be a bug in the decision table (spreadsheet), it works with Java 7/Drools 5 but not with Java 8/Drools 7