I think [EMAIL PROTECTED] wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Hi All > > I am using a java Bean in jess which is working fine in rule engine in all > aspects like in defclass, definstance and using directly using OBJECT etc. > But when I am trying to instantiate another object in one of the support > methods in that bean, Jess is throwing an exception saying shadow fact > cannot be created. Can anybody figure out what is the problem? Otherwise > this bean is working fine. Please help me solve this problem.
The exact wording of the error message -- or even better, the whole thing, including the stack trace -- would help to pinpoint the problem. The error message you've given isn't one that can be emitted by any currently supported version of Jess, so I don't know if it's from an old version, from your own code, or just a transcription error. In any case, based on the little information I have, this kind of problem generally happens when one of your getter methods throws an exception when Jess calls it. In this case, the actual thrown exception is available by calling the getCause() method (or getNextException() in older versions of Jess) on the JessException object. --------------------------------------------------------- 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://herzberg.ca.sandia.gov -------------------------------------------------------------------- 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] --------------------------------------------------------------------
