Self.position_desired always none

When I run my heuristic function, self.position_desired is alwas none, which is weird as many scenarios have an desired position. Also when I run the student_example heuristics I get exceptions every single time. Has anyone soved that problem?

There are related discussions earlier: Where is "position_desired" not None?