appcelerator/titanium_mobile — pull request #3906 by salachi (2013-02-25 14:35:29+00:00)
Title: TIMOB-9819-added null check to prevent the crash

This fixes the crash but gradient won't be applied. nativeView is never set in TiUIView in the case of heavyweight window.

https://jira.appcelerator.org/browse/TIMOB-9819