Check for null cursor

Change-Id: I2d59b92684f67103098fd78b3e78727b9319deb5
1 file changed