Hi
Please show field and getter declarations in class CDR
-W
On 18/01/2012, mujoko mujoko <mujoko.mujoko@gmail.com> wrote:
> For your info, for the same rules. It's not always happen, the error some
> times coming.
> For me the rule is fine (I used guvnor)
> Here is the rule
>
> import com.rbtsb.tm.meter.model.CDR;
> import org.apache.log4j.Logger;
>
> global Logger log;
>
> rule "ProductTag-FixedSMS"
>
> when
> $cdr : CDR(callClassCode == "F1" || callClassCode == "F2" )
> then
> $cdr.setProductName("fixedsms");
> end
>
>
>
> 2012/1/18 Michael Anstis <michael.anstis@gmail.com>
>
>> You're going to give a little more information, such as the DRL you're
>> unable to compile.
>>
>> 2012/1/18 mujoko mujoko <mujoko.mujoko@gmail.com>
>>
>>> Hi Drools Users,
>>>
>>> I'm new member, Mujoko.
>>> I got issue regarding my rules. Several times got exception when trying
>>> to
>>> create KnowledgeSession. I used drools-core 5.3.0.Final and
>>> drools-compiler 5.3.0.Final.
>>>
>>> java.lang.ArrayIndexOutOfBoundsException: -1
>>> at org.mvel2.asm.Frame.merge(Frame.java:1373)
>>> at org.mvel2.asm.Frame.merge(Frame.java:1350)
>>> at org.mvel2.asm.MethodWriter.visitMaxs(MethodWriter.java:1282)
>>> at
>>>
>>> org.drools.rule.builder.dialect.asm.ClassGenerator$MethodDescr.write(ClassGenerator.java:480)
>>> at
>>>
>>> org.drools.rule.builder.dialect.asm.ClassGenerator.generateBytecode(ClassGenerator.java:50)
>>> at
>>>
>>> org.drools.rule.builder.dialect.asm.ASMEvalBuilder.createEvalBytecode(ASMEvalBuilder.java:63)
>>> at
>>>
>>> org.drools.rule.builder.dialect.asm.AbstractASMEvalBuilder.build(AbstractASMEvalBuilder.java:49)
>>> at
>>>
>>> org.drools.rule.builder.dialect.asm.AbstractASMEvalBuilder.build(AbstractASMEvalBuilder.java:15)
>>> at
>>>
>>> org.drools.rule.builder.GroupElementBuilder.build(GroupElementBuilder.java:65)
>>> at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:80)
>>> at
>>> org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:2289)
>>> at
>>> org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:822)
>>>
>>>
>>>
>>> --
>>> Mujoko
>>> http://www.linkedin.com/in/mujoko
>>>
>>>
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users@lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
>
> --
> Mujoko
> http://www.linkedin.com/in/mujoko
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users