Wolfgang wrote "If you don't find it, you'll have to show us the spreadsheet, reduced
but still producing your problem."

On 23 January 2012 09:15, srikanth_sunny <sunny8875@gmail.com> wrote:
Hi Laune,
            Thank you very much for the reply, After your comment i cross
checked the decision table and i think i have
MyUtilityClass.doSomething(fact, "$param") instead of
MyUtilityClass.doSomething(fact,"$param"); where i think i missed the
semi-column at the end. After i added it now I am getting the error as stack
trace shown below:
Exception in thread "main" java.lang.IndexOutOfBoundsException: Error trying
to access field at position 0
       at org.drools.factmodel.ClassDefinition.getField(ClassDefinition.java:164)
       at
org.drools.rule.builder.PatternBuilder.processPositional(PatternBuilder.java:424)
       at
org.drools.rule.builder.PatternBuilder.processConstraintsAndBinds(PatternBuilder.java:384)
       at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:305)
       at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:129)
       at
org.drools.rule.builder.GroupElementBuilder.build(GroupElementBuilder.java:65)
       at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:81)
       at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:1981)
       at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:792)
       at
org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:354)
       at
org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:585)
       at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:34)
       at com.sample.drools.Test.main(Test.java:35)

Please Let me know whether i am still missing any thing


--
View this message in context: http://drools.46999.n3.nabble.com/Reg-ACTION-cell-in-decision-table-tp3681062p3681334.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users