I think Felix H. Bachmann wrote: Here's the exception Jess threw, which is then rethrown by your other code:
> Message: Not a string: "<Fact-21>" (type = FACT). > at jess.Value.a(Unknown Source) > at jess.Value.a(Unknown Source) > at jess.Value.stringValue(Unknown Source) > at > edu.cmu.sei.arche.corebridge.listener.VOUpdate.parseAndUpdateDesignElement(VOUpdate.java:1391) > at > edu.cmu.sei.arche.corebridge.listener.VOUpdate.parseFactAndUpdateVO(VOUpdate.java:315) > at > edu.cmu.sei.arche.corebridge.listener.CoreListener.eventHappened(CoreListener.java:82) (... more) So your "CoreListener" class calls VOUpdate.parseFactAndUpdateVO(), which calls VOUpdate.parseAndUpdateDesignElement(), which, at line 1391, calls stringValue() on a Value object of type RU.FACT. The stringValue() method throws this exception to tell you that a FACT isn't a STRING. You'll have to look at parseAndUpdateDesignElement() to see what it's doing exactly, but it's assuming something will be a String, and it isn't. You can use Value.type() to check the type of a Value before calling one of the xxxValue() methods. --------------------------------------------------------- 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] --------------------------------------------------------------------