Just out of curiosity, if you change your &quot;modify&quot; block and use an &quot;updeat&quot; instead, does it work?<div>Something like:</div><div><br></div><div><span style>$myObject.setVariable1(defaultValue)</span><span style>;</span></div>

<div><font color="#222222" face="arial, sans-serif">update($myObject);</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Best Regards,<br clear="all">

</font><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br><div class="gmail_quote">On Thu, Feb 16, 2012 at 5:14 PM, Vakimshaar <span dir="ltr">&lt;<a href="mailto:jean.logeart@gmail.com">jean.logeart@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

That&#39;s not what is in the doc:<br>
<br>
<br>
Documentation wrote<br>
&gt;<br>
&gt; All operators have normal Java semantics except for == and !=.<br>
&gt; The == operator has null-safe equals() semantics:<br>
&gt; // Similar to: java.util.Objects.equals(person.getFirstName(), &quot;John&quot;)<br>
&gt; // so (because &quot;John&quot; is not null) similar to:<br>
&gt; // &quot;John&quot;.equals(person.getFirstName())<br>
&gt; Person( firstName == &quot;John&quot; )<br>
&gt;<br>
<br>
And still, actually the MyObject class is actually wrapper to the<br>
ActualObject class. The getters and setters are basically simple wrapped.<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/ConsequenceException-when-using-modify-tp3750604p3750755.html" target="_blank">http://drools.46999.n3.nabble.com/ConsequenceException-when-using-modify-tp3750604p3750755.html</a><br>


<div class="HOEnZb"><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></div>