Hi,
I am getting the below error when "CMA-Check-TargetUserId-Parameter"
rules get fired.
The "loadContactFact" method of class "RuleEngineUtil" gets called,
but it neither
throws an exception or ends properly.
Is there any way JESS can printout detailed description what
exception the method throws ?.
or what is causing the JESS to throw this error message.
(deffunction MAIN::load-contact(?targetUserId)
(bind ?engine (fetch engine))
(printout t "Rete Engine Object " ?engine crlf)
(if (not (eq ?engine nil)) then
(call RuleEngineUtil loadContactFact ?engine ?targetUserId)
)
defrule parameter::CMA-Check-TargetUserId-Parameter "Check
TargetUserId"
(parameter::Input (name TargetUserId) (value ?targetUserId))
(parameter::Input (name Application) (value CMA))
=>
(MAIN::load-contact ?targetUserId)
(assert ( MAIN::Result (type Parameter)(source Core)(name
TargetUserId)(status OK)))
)
Rete Engine Object <External-Address:jess.Rete>
Jess reported an error in routine call
while executing (call RuleEngineUtil loadContactFact ?engine
?targetUserId)
while executing (if (not (eq ?engine nil)) then (call
RuleEngineUtil loadContactFact ?engine ?
targetUserId))
while executing deffunction MAIN::load-contact
while executing (MAIN::load-contact ?targetUserId)
while executing defrule
parameter::CMA-Check-TargetUserId-Parameter.
Message: Called method threw an exception.
at jess.v.call(Unknown Source)
at jess.ep.a(Unknown Source)
at jess.Funcall.execute(Unknown Source)
at jess.FuncallValue.resolveValue(Unknown Source)
at jess.dw.call(Unknown Source)
at jess.ep.a(Unknown Source)
at jess.Funcall.execute(Unknown Source)
at jess.FuncallValue.resolveValue(Unknown Source)
at jess.Deffunction.call(Unknown Source)
at jess.ep.a(Unknown Source)
at jess.Funcall.execute(Unknown Source)
at jess.Defrule.a(Unknown Source)
at jess.Activation.if(Unknown Source)
at jess.a8.a(Unknown Source)
at jess.a8.for(Unknown Source)
at jess.Rete.run(Unknown Source)
............
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------