Snapshot gives cannot read property of null error

Snapshot gives cannot read property of null in browser console error.