[rules-users] NullPointerException when updating a fact

schenka7 eugen.berenstein at gmail.com
Tue Jul 30 06:40:11 EDT 2013


Hi Steven, thanks for your effort, but it still doesn't work.
I have created a constructor for the Message class and removed the factory
as you suggested.


Stephen Masters wrote
> You need to ensure that none of those classes have static flags on them
> (or the Java won't compile)

What du you mean by that? If my classes are not inner classes I cant add the
static flag to them anyway. 
Is it a requirement for facts to be inner classes?

The stack trace of the exception is as follows:




--
View this message in context: http://drools.46999.n3.nabble.com/NullPointerException-when-updating-a-fact-tp4025181p4025212.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list