We ought to see the Java code for this class reduced to the field and its getters: org.drools.base.com.somecompany.prov.rulesbased.facts.ProvResponse1649170666$getMmlCommandUid<br><br>Also, we ought to see the uses of this field mmlCommandUid in your rules - which kinds of constraints you are using where a test for equality (==, !=) is used. A &quot;grep mmlCommandUid my.drl&quot; would be a fast way.<br>
<br>-W<br><br><br><div class="gmail_quote">On 27 April 2011 11:42, dabar <span dir="ltr">&lt;<a href="mailto:david.barrett.0%2Bdrools@gmail.com">david.barrett.0+drools@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for the replies.<br>
<br>
MmlCommandUid is an int so I have assumed I did not need to do a null check<br>
as an int can never be null in java.  Is drools autoboxing this to Integer?<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/NullPointer-after-inserting-fact-in-RHS-tp2866772p2869749.html" target="_blank">http://drools.46999.n3.nabble.com/NullPointer-after-inserting-fact-in-RHS-tp2866772p2869749.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>