Re: JESS: Still a problem when trying to match an object inanobject... More info

2002-10-04 Thread Alexander Lamb
Title: Re: JESS: Still a problem when trying to match an object in anobject... More info Before. I am running in WebObjects (an application server). First the Application class gets instantiated and it is in there I initialize the rete engine And do the defclass then only I load the files

Re: JESS: Still a problem when trying to match an object in anobject... Even more info

2002-10-04 Thread Alexander Lamb
Thanks, that did it! Some logging was crashing in my code, now it works! On 3.10.2002 18:43, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I think Alexander Lamb wrote: Well, I still crash in the definstance: ERROR IN DEFINSTANCE: Jess reported an error in routine

InvocationTargetException (was: RE: JESS: Still a problem whentrying to match an object in an object... Even more info)

2002-10-04 Thread Alan Moore
See manual section 4.1 re: getNextException() -- Jess is telling you that it called a Java method via reflection, and it threw an exception. You have to call getNextException.printStackTrace() to see it -- it will probably give you a clue! Would it be more appropriate for Jess to throw an

Re: InvocationTargetException (was: RE: JESS: Still a problemwhen trying to match an object in an object... Even more info)

2002-10-04 Thread ejfried
I think Alan Moore wrote: See manual section 4.1 re: getNextException() -- Jess is telling you that it called a Java method via reflection, and it threw an exception. You have to call getNextException.printStackTrace() to see it -- it will probably give you a clue! Would it be more

JESS: General question about when you are supposed to usedefinstance

2002-10-04 Thread Alexander Lamb
Hello, I use definstance for a context object in Java. However, several other objects will be used in the LHS of the rule but don't exist as a definstance. I suppose, that's ok. Now, my understanding is that if you want to match the head of a rule with a java object, it needs to be a

JESS: Re: Trouble with testing null values...

2002-10-04 Thread Alexander Lamb
Oups... I guess that sending the email, I got the answer:-) The mathing of nil has to be: (currentScript ?s :(eq nil (get ?s title))) Except it doesn't like it... Is there a special way to test for null values? Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division

JESS: Trouble with testing null values...

2002-10-04 Thread Alexander Lamb
Hello, This rule seems to never fire: (defrule CATCH_TITLE (declare (salience -100)) (OrmedContext (readyToRun TRUE) (task script) (currentScript ?s :(eq nil title)) (OBJECT ?x) ) = (call ?x setScriptKeyAndTitle XXX Missing script title) )

Re: JESS: Trouble with testing null values...

2002-10-04 Thread ejfried
I think Alexander Lamb wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] Hello, This rule seems to never fire: (defrule CATCH_TITLE (declare (salience -100)) (OrmedContext (readyToRun TRUE) (task script) (currentScript ?s :(eq nil title))

Re: JESS: General question about when you are supposed to usedefinstance

2002-10-04 Thread ejfried
I think Alexander Lamb wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] Hello, I use definstance for a context object in Java. However, several other objects will be used in the LHS of the rule but don't exist as a definstance. I suppose, that's ok. Yes, it is. Now, my

AW: JESS: General question about when you are supposed to usedefinstance

2002-10-04 Thread au
unsubscribe jess-users [EMAIL PROTECTED] unsubscribe jess-users [EMAIL PROTECTED] To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use