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

JarkkoMakela jarkko.matinpoika at gmail.com
Mon Mar 17 04:02:23 EDT 2014


Manstis was right, I was trying to access Java class with the API for
accessing declared (DRL) types.
ValidationError class was created with Drools Workbench data modeller. I
thought that data modeller creates declarative classes, like in Drools
Guvnor.
I imported ValidationError as normal Java class and and started to use as it
as normal Java class and problem was solved.
Sorry for all the trouble and thanks for help!

-Jarkko



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


More information about the rules-users mailing list