<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE : [rules-users] MVEL problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hello again,<BR>
here a small project export (which I used to test the dynamic add/remove rules ) that gets the same error message<BR>
<BR>
Regards<BR>
Nicolas Heron<BR>
<BR>
<BR>
-------- Message d'origine--------<BR>
De: rules-users-bounces@lists.jboss.org de la part de Héron Nicolas<BR>
Date: lun. 24/03/2008 13:05<BR>
À: Rules Users List<BR>
Objet : [rules-users] MVEL problem<BR>
<BR>
Hello,<BR>
I took the latest 4.0.x version and did everything needed to build the solution but<BR>
1)<BR>
When using maven, I always have the same errors in those 2 tests :<BR>
<BR>
&nbsp; testString(org.drools.base.mvel.MVELCalendarCoercionTest)<BR>
&nbsp; testString(org.drools.base.mvel.MVELDateCoercionTest)<BR>
<BR>
2)<BR>
I skip the test and build everything<BR>
then I import the necessary project into eclipse 3.3 and from the plug-in I start a new eclipse<BR>
I am now in a fresh eclipse with the latest drools 4.0.x<BR>
from there, I import the code for my loyalty system.<BR>
and I have the following error :<BR>
<BR>
Severity and Description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Path&nbsp;&nbsp;&nbsp; Resource&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Location&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Creation Time&nbsp;&nbsp; Id<BR>
org/mvel/integration/impl/LocalVariableResolverFactory&nbsp; ConnecteurCaisse/src/fr/cora/moteurfidelite/drools/rules/constant&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; INPUT_RF_REMISECHOISIE.drl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unknown 1206358379130&nbsp;&nbsp; 11<BR>
and the drl content is :<BR>
<BR>
#created on: 15 nov. 2007<BR>
package fr.cora.moteurfidelite.drools.rules.constant<BR>
#list any import classes here.<BR>
import fr.cora.moteurfidelite.fid.pojo.impl.TicketCaisse;<BR>
#declare any global variables here<BR>
rule &quot;Start RuleFlow Remise Choisie&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; when<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t : TicketCaisse(&nbsp; )<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; drools.getWorkingMemory().startProcess(<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;remisechoisie&quot;);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
end<BR>
<BR>
Here in fact, each time a TicketCaisse is asserted, a rule flow is started.<BR>
<BR>
What is wrong ?<BR>
Thanks<BR>
Nicolas Heron<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
and the<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>