Handle nil pointers to Stringer and error types