It means that (facts) threw a RuntimeException. This might happen if,
for example, in trying to display a shadow fact, (facts) called a
method on one of your classes and that method threw a
NullPointerException.
The stack trace for that RuntimeException is help in the "cause" of
the JessException. If you're using jess.Main, then start it with -
stacktrace (i.e., java jess.Main -stacktrace myfile.clp) and Jess
will dump the stacktraces for the main exception and the root cause.
If you're programming in Java, then where you catch this
JessException, call getCause() on the exception object and, if it
returns non-null, then use getMessage() or printStackTrace() or
whatever to get the info you need about what's going wrong.
On Sep 3, 2007, at 8:21 PM, Emmanuel Shyllon wrote:
Dear All,
Can anyone interpret this error?
Error during execution Jess reported an error in routine facts while
executing (facts).
Message: Error during execution.
Program text: (facts) at line 1.
Regards,
Emmanuel.
--------------------------------------------------------------------
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 owner-jess-
[EMAIL PROTECTED]
--------------------------------------------------------------------
---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jessrules.com
--------------------------------------------------------------------
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]
--------------------------------------------------------------------