nullpointer in call heartbeat