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
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
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
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
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
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
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)
)
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))
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
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
10 matches
Mail list logo