Hi,<br><br>Can you provide your object model too please?<br><br>Thanks,<br><br>Mike<br><br><div class="gmail_quote">On 5 July 2011 17:59, pamerida <span dir="ltr">&lt;<a href="mailto:elpamm@hotmail.com">elpamm@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Thanks Mike,<br>
<br>
My rule definition is (the image cause is defined with the guided editor<br>
from Guvnor)<br>
<br>
<a href="http://drools.46999.n3.nabble.com/file/n3141579/drools.jpg" target="_blank">http://drools.46999.n3.nabble.com/file/n3141579/drools.jpg</a><br>
<br>
and the result source:<br>
<br>
rule &quot;prueba&quot;<br>
dialect &quot;mvel&quot;<br>
when<br>
      Cuscar( UNB.size() == 0 )<br>
then<br>
end<br>
<br>
Cuscar is defined in my model and it contains an ArrayList called UNB (with<br>
is getters and setters), Guvnor seems to recognize everything OK because it<br>
let me select the correct options for the type ArrayList from the drop down<br>
menu, but when i click the validate option it throws me this error:<br>
<br>
[prueba] Unable to wire compiled classes, probably related to compilation<br>
failures:[Error: no such identifier: UNB] [Near : {... UNB.size() ....}] ^<br>
[Line: 1, Column: 1]<br>
<br>
the identifier that doesnt seems to recognize is &quot;size()&quot;, I have already<br>
tryed this rule:<br>
<br>
rule &quot;prueba&quot;<br>
dialect &quot;mvel&quot;<br>
when<br>
    Cuscar( UNB == null )<br>
then<br>
end<br>
<br>
and it compiles just fine... I wonder if it has something to do with the<br>
strict mode that I posted in my first message?...<br>
<div class="im"><br>
Thanks so much for your help :)<br>
<br>
<br>
<br>
--<br>
</div>View this message in context: <a href="http://drools.46999.n3.nabble.com/Guvnor-5-2-0-Final-in-Tomcat-6-0-32-fail-to-compile-rules-tp3139077p3141579.html" target="_blank">http://drools.46999.n3.nabble.com/Guvnor-5-2-0-Final-in-Tomcat-6-0-32-fail-to-compile-rules-tp3139077p3141579.html</a><br>

<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>