<br>   Brody,<br><br>   Can you try with Drools 5.0.1 (and corresponding MVEL version) that is the final community release? There were tons of fixes since the candidate release.<br><br>   Let us know if it works.<br><br>   Edson<br>
<br><div class="gmail_quote">2009/6/25 Brody bach <span dir="ltr">&lt;<a href="mailto:brodybach@yahoo.com">brodybach@yahoo.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Oh yes, sorry I forgot to mention,<br>
<br>
Drools 5.0.0.CR1<br>
Mvel 2.0.8pre1<br>
<br>
Thanks<br>
<div><div></div><div class="h5"><br>
<br>
<br>
Edson Tirelli-3 wrote:<br>
&gt;<br>
&gt;    Hi Brody,<br>
&gt;<br>
&gt;    What versions of Drools and MVEL you are using?<br>
&gt;<br>
&gt;    []s<br>
&gt;    Edson<br>
&gt;<br>
&gt; 2009/6/25 Brody bach &lt;<a href="mailto:brodybach@yahoo.com">brodybach@yahoo.com</a>&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I have a class which implementes several interfaces<br>
&gt;&gt;<br>
&gt;&gt; class MyClass implements interA, interB, interC {<br>
&gt;&gt;      private String nameA;<br>
&gt;&gt;      private String nameB;<br>
&gt;&gt;      private String ownString;<br>
&gt;&gt;<br>
&gt;&gt;      public String getNameA(){ ---impl of method from interface interA<br>
&gt;&gt;           return nameA;<br>
&gt;&gt;      }<br>
&gt;&gt;<br>
&gt;&gt;      public String getNameB(){  ---- impl method from interface interB<br>
&gt;&gt;           return nameB;<br>
&gt;&gt;      }<br>
&gt;&gt;<br>
&gt;&gt;      public String getOwnString{  ---- own method<br>
&gt;&gt;           return ownString;<br>
&gt;&gt;      }<br>
&gt;&gt; }<br>
&gt;&gt;<br>
&gt;&gt; Another class, MyBiggerClass has MyClass as its attribute:<br>
&gt;&gt;<br>
&gt;&gt; class MyBiggerClass {<br>
&gt;&gt;  private MyClass myClass;<br>
&gt;&gt;<br>
&gt;&gt;  public MyClass getMyClass(){<br>
&gt;&gt;       return myClass;<br>
&gt;&gt;  }<br>
&gt;&gt; }<br>
&gt;&gt;<br>
&gt;&gt; In a rule, I use MyBiggerClass as follows:<br>
&gt;&gt; $mybig : MyBiggerClass()<br>
&gt;&gt; eval($mybig.getMyClass().getNameB().equals(&quot;HelloWorld&quot;))<br>
&gt;&gt;<br>
&gt;&gt; The evaluation fails, and it said<br>
&gt;&gt; unable to resolve method using strict-mode: interA.getNameB()<br>
&gt;&gt;<br>
&gt;&gt; As you can see, the validator checks as if the getNameB was a method of<br>
&gt;&gt; interA (the first interface).<br>
&gt;&gt; I&#39;m wondering whether this is a bug, or do I have to somehow change the<br>
&gt;&gt; structure of my class.<br>
&gt;&gt; But the question is, why does it check the interfaces not the class<br>
&gt;&gt; itself?<br>
&gt;&gt;<br>
&gt;&gt; Thanks for advices<br>
&gt;&gt;<br>
&gt;&gt; Regard<br>
&gt;&gt; bb<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; View this message in context:<br>
&gt;&gt; <a href="http://www.nabble.com/Validation-in-Guvnor-fails-due-to-unrecognized-method-of-implemented-interface-tp24203665p24203665.html" target="_blank">http://www.nabble.com/Validation-in-Guvnor-fails-due-to-unrecognized-method-of-implemented-interface-tp24203665p24203665.html</a><br>

&gt;&gt; Sent from the drools - user mailing list archive at Nabble.com.<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; rules-users mailing list<br>
&gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;  Edson Tirelli<br>
&gt;  JBoss Drools Core Development<br>
&gt;  JBoss by Red Hat @ <a href="http://www.jboss.com" target="_blank">www.jboss.com</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
&gt;<br>
<br>
--<br>
</div></div>View this message in context: <a href="http://www.nabble.com/Validation-in-Guvnor-fails-due-to-unrecognized-method-of-implemented-interface-tp24203665p24205279.html" target="_blank">http://www.nabble.com/Validation-in-Guvnor-fails-due-to-unrecognized-method-of-implemented-interface-tp24203665p24205279.html</a><br>

<div><div></div><div class="h5">Sent from the drools - user mailing list archive at Nabble.com.<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>