Siva raj

Error while executing rulesets

Discussion created by Siva raj on May 17, 2012
Latest reply on May 18, 2012 by Siva raj


I am using Blaze advisor version 6.9.

I have designed a simple ruleset and it takes three arguments,

e.g ruleset1(Object1, Object2, Object3);


This ruleset gets executed fine if i pass all the arguments in the same order.


The problem is, if i pass the objects in different order, it gives me error.


e.g ruleset1(Object3, Object2,Object1).


Error Message:

com.blazesoft.server.base.NdServiceSessionException: Service session Id number 0.
Service 'Student'. Server 'Student' on host 'BLRKEC95884D'.
Service session Id number 0.
Service 'Student'. Server 'Student' on host 'BLRKEC95884D'.
Cannot convert service argument 0 to an Advisor argument for the function or ruleset 'ruleset1'.
2012-05-17 12:08:48,811 ERROR [STDERR] (Exception Multicaster Thread0) com.blazesoft.objects.base.NdIllegalReturnValueException: Cannot convert a value of type 'com.infy.finacle.finrules.los.Loan' to an Advisor value
of type 'com.infy.finacle.fico.Student' from the 'Java' class provider



Are we supposed to pass the ruleset arguments in the same order for proper execution ?



Kindly suggest.