<div>did you try:</div><div> </div><div> <i>$msg : Message($date : date)<br>  Order ( $date &gt; &quot;Mar-01-2012&quot; )</i></div><div><br><br> </div><div class="gmail_quote">2012/3/29 Zeke <span dir="ltr">&lt;<a href="mailto:xanadu860122@gmail.com">xanadu860122@gmail.com</a>&gt;</span><br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">Hi, guys:<br>  I meet a strange issue and need your help again... I am using Drools 4.0.7. <br>
  When my rule condition is as <i>Message( date &gt; &quot;Mar-01-2012&quot; )</i>, everything is OK. But if I change it to be as below:<br>
  <i>$msg : Message()<br>  Order ( $msg.date &gt; &quot;Mar-01-2012&quot; )</i><br>  I will meet &quot;java.lang.String cannot be cast to java.util.Date&quot; ClassCastException. &quot;Order&quot; is another fact. I attach the exception call stack. Please check it. It looks like a bug to me. Do we fix it in later release? If so, can you tell me which release contains the fix? Thanks!<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" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>