On Nov 30, 2006, at 9:38 AM, Thiele, Klaus wrote:
oops, strange.... there is an additional getter on a variable, that causes this error: private java.util.Date gebdat; public String getGebdatStr() { // don't work: return gebdat.toString(); return "Hello World!"; // this ist Ok! ???? }
If if "gebdat" is null, then calling getGebdatStr as written will throw a NullPointerException; that's probably what you're seeing here. The JavaBeans spec doesn't allow for properties to be null, anyway, although Jess doesn't care about that. Your properties should have valid default values.
--------------------------------------------------------- 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] --------------------------------------------------------------------