[rules-users] NullPointerException when updating a fact

schenka7 eugen.berenstein at gmail.com
Tue Jul 30 03:43:56 EDT 2013


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-fact-tp4025181p4025204.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list