I am using jess 6.1p2 and have a rule

(defrule
(?problem <- (problem
  subgoals $?a ?c $?b))
=>
(modify ?problem
 (subgoals $?a $?b))

can you please tell me why am i getting this error

Jess reported an error in routine Funcall.execute
        while executing (modify ?problem (subgoals $?sg1
$?sg2))
        while executing defrule MAIN::write-sum.
  Message: Error during execution.
        at jess.Funcall.execute(Funcall.java:273)
        at jess.Defrule.fire(Defrule.java:215)
        at jess.Activation.fire(Activation.java:84)
Caused by: java.lang.NullPointerException
        at jess.FactList.assignTime(FactList.java:40)
        at jess.Rete.processToken(Rete.java:952)
        at jess.FactList.finishModify(FactList.java:347)
        at jess.FactList.modifyRegularFact(FactList.java:382)
        at jess.FactList._modify(FactList.java:303)
        at jess.Rete._modify(Rete.java:433)
        at jess.Modify.call(Funcall.java:971)
        at jess.FunctionHolder.call(FunctionHolder.java:30)
        at jess.Funcall.execute(Funcall.java:266)


Thanks in advance.
Acme.

________________________________________________________________________
Send free SMS using the Yahoo! Messenger. Go to http://in.mobile.yahoo.com/new/pc/

--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to