Merge "[SPIN] Add NULL check to prevent crash." into tizen