Hide Forgot
Description of problem: Platform BZ for https://issues.jboss.org/browse/DROOLS-986 If you run Drools with System.setProperty("drools.ruleEngine", "reteoo"), you will get an NPE. ==== java.lang.NullPointerException at org.drools.core.RuleBaseConfiguration.configureReteComponentFactory(RuleBaseConfiguration.java:953) at org.drools.core.RuleBaseConfiguration.setPhreakEnabled(RuleBaseConfiguration.java:791) at org.drools.core.RuleBaseConfiguration.init(RuleBaseConfiguration.java:495) at org.drools.core.RuleBaseConfiguration.init(RuleBaseConfiguration.java:429) at org.drools.core.RuleBaseConfiguration.<init>(RuleBaseConfiguration.java:420) at org.drools.core.impl.KnowledgeBaseFactoryServiceImpl.newKnowledgeBaseConfiguration(KnowledgeBaseFactoryServiceImpl.java:38) at org.kie.internal.KnowledgeBaseFactory.newKnowledgeBaseConfiguration(KnowledgeBaseFactory.java:125) at org.drools.compiler.kie.builder.impl.KieContainerImpl.getKnowledgeBaseConfiguration(KieContainerImpl.java:516) at org.drools.compiler.kie.builder.impl.KieContainerImpl.createKieBase(KieContainerImpl.java:497) at org.drools.compiler.kie.builder.impl.KieContainerImpl.getKieBase(KieContainerImpl.java:440) at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:597) at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:568) at com.sample.DroolsTest.main(DroolsTest.java:19) ==== Steps to Reproduce: See Unit test in the commit https://github.com/droolsjbpm/drools/commit/731f00a66b0fbe6591160af588e0bed44d186c83 Actual results: NullPointerException is thrown Expected results: Execute without an Exception
I confirmed that it is already fixed in 6.4.x branch and product tag sync-6.4.x-2016.03.08. Setting to MODIFIED.
Verified by running the linked test on supported environments.