Subj : [SpiderMonkey] JS_DefineObject returns null after moving to newest sources To : spidermonkey list From : ggadwa@voyager.net (Brian Barnes) Date : Fri Jul 18 2003 04:41 am I moved up to the newest sources last night (last build I used was back in 7/2002, a 1.4 build). Everything has been working fine, but I decided to update to the 1.5rc5a. It works fine in my testing suite, and shows a 7% increase in speed (good job), but doesn't seem to work in the "real" program. JS_DefineObject returns null. The line is: j_obj=JS_DefineObject(cx,parent_obj,"event",&event_class,NULL,0); The class is: JSClass event_class={"event_class",JSCLASS_HAS_PRIVATE, JS_PropertyStub,JS_PropertyStub, JS_PropertyStub,JS_PropertyStub, JS_EnumerateStub,scripts_resolve_object,JS_ConvertStub,JS_FinalizeStub}; parent_obj and cx are both valid, and other calls work for them (as does the 1.4 spidermonkey engine.) Yes, I know this is little information, but does anything changed between those versions spring to mind that might cause JS_DefineObject to fail? [>] Brian .