Index: generic/nsf.c =================================================================== diff -u -N -r2298203da43f1d10b0e1151944606a934fb6b727 -r5163190ade6f6a2abcd8b7f0265f74457557a61c --- generic/nsf.c (.../nsf.c) (revision 2298203da43f1d10b0e1151944606a934fb6b727) +++ generic/nsf.c (.../nsf.c) (revision 5163190ade6f6a2abcd8b7f0265f74457557a61c) @@ -26169,7 +26169,7 @@ CmdListAddSorted(&nclopt->isClassMixinOf, cl->object.id, NULL); } else { NsfLog(interp, NSF_LOG_WARN, - "Problem registering %s as a mixin of %s\n", + "Problem registering %s as a class mixin of %s\n", ObjStr(valueObj), ClassName(cl)); } } @@ -26357,13 +26357,14 @@ for (cmds = newMixinCmdList; cmds; cmds = cmds->nextPtr) { NsfObject *nObject = NsfGetObjectFromCmdPtr(cmds->cmdPtr); + if (nObject) { nclopt = NsfRequireClassOpt((NsfClass *) nObject); CmdListAddSorted(&nclopt->isObjectMixinOf, object->id, NULL); } else { NsfLog(interp, NSF_LOG_WARN, - "Problem registering %s as a mixin of %s\n", - ObjStr(valueObj), ClassName(cl)); + "Problem registering %s as a object mixin of %s\n", + ObjStr(valueObj), ObjectName(object)); } }