If you want to use a macro KFieldInit, to initialize the field, please use the NULL object rather than a NULL pointer.
KFieldInit and KFieldSet macros do not allow non-object in the argument.