The check for NULL should be before the one for STRING, because the condition for STRING is printing the value and in case it is NULL will result in crash.
—Reply to this email directly or view it on GitHub.