Why I am getting the below error? I can't able to use the <,>,<=.>=.. but previously I have used it and it works correctly and even the old sample coding which uses the <,>,<=.>=.. works properly now also. And I am using Eclipse 3.2 with Drools IDe and I am creating the new rules project using IDE and trying out some sample execrises, but I don't know why this error is coming, but not for the same coding which I have written few weeks ago!!
 
 
java.lang.RuntimeException: Operator '20' does not exist for StringEvaluator
 at org.drools.base.evaluators.StringFactory.getStringEvaluator(Unknown Source)
 at org.drools.base.EvaluatorFactory.getEvaluator(Unknown Source)
 at org.drools.base.EvaluatorFactory.getEvaluator(Unknown Source)
 at org.drools.semantics.java.RuleBuilder.getEvaluator(Unknown Source)
 at org.drools.semantics.java.RuleBuilder.build(Unknown Source)
 at org.drools.semantics.java.RuleBuilder.build(Unknown Source)
 at org.drools.semantics.java.RuleBuilder.build(Unknown Source)
 at org.drools.semantics.java.RuleBuilder.build(Unknown Source)
 at org.drools.compiler.PackageBuilder.addRule(Unknown Source)
 at org.drools.compiler.PackageBuilder.addPackage(Unknown Source)
 at org.drools.compiler.PackageBuilder.addPackageFromDrl(Unknown Source)
 at com.sample.InsurerTest.readRule(InsurerTest.java:46)
 at com.sample.InsurerTest.main(InsurerTest.java:16)
 
Regards,
Micheal John.

 

Get email for your site ---> http://www.everyone.net