Please provide a self-contained example. We don’t know what SAFun is and you are not providing a stack trace.
SAFun