[rules-users] java.lang.NullPointerException when using a custom operator

mattmadhavan mmadhavan at facs.org
Fri Feb 14 12:29:27 EST 2014


Hi Davide,
The problem occurs here at my evaluator!



Please note lines 1 and 2 and the third parameter to the evaluate function!
It has changed from *'Object' *to *'FactHandle' *from 5.4.0 to 5.6.0.

The first step return back the same factHandle object so the Casting fails
on step 2). Please note that this works just fine in 5.4.0.

The error is:


Any help on this issue is greatly appreciated!

Thanks in advance!
Matt'M


So the second step fails w




--
View this message in context: http://drools.46999.n3.nabble.com/rules-users-java-lang-NullPointerException-when-using-a-custom-operator-tp4025287p4028127.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list