For some reason, view variable was null