Added snapshot.getDensitygrid in MassView, however the null pointer
exception still exists