Glad you solved your problem :-) You can still create declarative types if you wish in 6.0.x but you'll need to create a DRL file and enter the applicable syntax.
Cheers, Mike Sent on the move On 17 Mar 2014 08:03, "JarkkoMakela" <jarkko.matinpo...@gmail.com> wrote: > 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. > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users