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

Michael Anstis michael.anstis at gmail.com
Mon Mar 17 04:11:18 EDT 2014


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.matinpoika at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140317/ad7fb8c1/attachment.html 


More information about the rules-users mailing list