Hello,

i'm testing some things from the manual. i have a normal java-bean -
getter/setter, PropertyChangeSupport - works well
in my other testcase. now i try to create new facts directly from jess
(chapter 5.3.2) :

(import com.PIAG.jess.Person)
(deftemplate Person (declare (from-class Person)))

(bind ?p1 (new com.PIAG.jess.Person))

(?p1 setNaname "Duck")
(?p1 setVorname "Donald")  

(printout t "Hello" (?p1 getVorname) (?p1 getNaname) crlf)

(add ?p1)

following exception:
Jess reported an error in routine DefinstanceList.updateMultipleSlots
        while executing (add ?p1).
  Message: Called method threw an exception.
  Program text: ( add ?p1 )  at line 23.

what happens?

regards
 klaus


--
Klaus Thiele - Personal & Informatik AG
mailto:[EMAIL PROTECTED]

  "Ein wichtiger Charakterzug großartiger Programmierer ist konstruktive
Faulheit..."
   Eric S. Raymond


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