Fix DumpWindowHierarchy NullPointerException
Merge pull request #2657 from bootstraponline/npe_fix

Fix DumpWindowHierarchy NullPointerException
ci ios branch for build #4574.2