<br> Arjun,<br><br> Can you please open a JIRA and add a self contained test case showing the problem?<br><br> Thank you,<br> Edson<br><br><div><span class="gmail_quote">2007/7/30, Arjun Dhar <<a href="mailto:dhar_ar@yahoo.com">
dhar_ar@yahoo.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br> I have an Object 'Configuration'<br><br>public class BooleanConfiguration {
<br> String paramName;<br> Boolean value;<br> Client client;<br>}<br><br>I asserted this object and the rule was not executing as I expected.<br><br>I put a break point in the object, and found that it set it correctly but
<br>whenenver the rule engine called the get method the vaue of the object was null.<br><br>I traced this the place where it creates shadows in Rete.java.<br>I had observed a similar behaviour in version 3.1 or 3.6 (if there was a
3.6).<br>it was more prolific then. I have over 50 objects, only this one is giving a<br>problem.<br><br>I made the class 'final' (This prevents a shadow from being created), and voila<br>my rule worked as expected.
<br>Note: None of the otehr objects needed a final, but had comeplex associations.<br>But this particular object does not run, unless declared final.<br><br>The fact that i have to use 'final' for it to work, seals it for me as a bug.
<br><br>thanks,<br>Arjun<br><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">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> Software Engineer - JBoss Rules Core Developer<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646
<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>