[rules-users] NullPointerException with factType.get(fact, "fieldname")

JarkkoMakela jarkko.matinpoika at gmail.com
Fri Mar 14 09:14:51 EDT 2014


I have this problem also with drools versions 6.0.1.FINAL and 6.1.0.Beta1

org.kie.api.definition.type.FactType.get(Object bean, String field)
gives NullPointerException with default KieBase

KieContainer kContainer =
kieServices.newKieContainer(kieServices.newReleaseId("com.test",
"validationrules", "1.0-SNAPSHOT"));
    
KieBase kbase = kContainer.getKieBase();



-Jarkko



--
View this message in context: http://drools.46999.n3.nabble.com/NullPointerException-with-factType-get-fact-fieldname-tp4028688p4028731.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list