Thanks. What approach should I use to display the shadow fact?
Regards, Emmanuel. ___________________________________ Emmanuel A. Shyllon Research Fellow, Department of Spatial Sciences, Curtin University of Technology, GPO Box U1987 Perth WA 6845, Australia Ph: +61 8 9266 3194 Fx: +61 8 9266 2703 Mobile: +61 (0) 401320777 Email: [EMAIL PROTECTED] Web: www.spatial.curtin.edu.au -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ernest Friedman-Hill Sent: Tuesday, 4 September 2007 9:18 AM To: jess-users@sandia.gov Subject: Re: JESS: Error during execution (facts). 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] -------------------------------------------------------------------- -------------------------------------------------------------------- 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] --------------------------------------------------------------------