The fact that all of your classes were static was ringing alarm bells, so I tested it
without that.
It works perfectly well if you remove 'static' from everything.
Steve
On 30 Jul 2013, at 08:43, schenka7 <eugen.berenstein(a)gmail.com> wrote:
I have appended the code that leads to the exception.
I have also noticed that the exception doesn't arise when using the concrete
FirstName type in the retracting rule. I have been using the generic base
class Value because I didn't want to write the same rule for all types
extending from it.
Main.java <
http://drools.46999.n3.nabble.com/file/n4025204/Main.java>
validation.drl
<
http://drools.46999.n3.nabble.com/file/n4025204/validation.drl>
--
View this message in context:
http://drools.46999.n3.nabble.com/NullPointerException-when-updating-a-fa...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users