[rules-users] Unable to create Field Extractor

Mauricio Salatino salaboy at gmail.com
Thu Mar 26 10:32:17 EDT 2009


Are you sure that the class that you have in the classpath is the last
one, and have the method getCodigoPlan()?
Did you add this method recently?

2009/3/26 Hugo Melendez <hmelendez at gmail.com>:
> Hi, I'm using JBoss Rules 4.0.7
> and I having this error when executing some rules.
>
> org.drools.RuntimeDroolsException: org.drools.RuntimeDroolsException:
> java.lang.IllegalStateException: Error in getting field access method.Unable
> to create Field Extractor for 'codigoPlan' of '[ClassObjectType
> class=com.sample.Afiliado]'
>
> The Afiliado class has a getCodigoPlan() public getter to a codigoPlan
> field.
> The rule is:
>
> rule
> when
>     socio : Afiliado( $codigoPlan: codigoPlan != null );
> then
>     System.out.println( $codigoPlan );
> end
>
> I check the manuals and mail lists and everyone has issues with getters.
> That's no my case I think.
>
> Any ideas of what's happen ?
> Regards,
> --
> Hugo
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>



-- 
 - Salatino Mauricio -




More information about the rules-users mailing list