trying to fix java Exception in thread “JavaFX Application Thread” java.lang.NullPointerException
If you look at the stacktrace the error is at RScene:107 and the caller is javafx. So the problem is not in the beginRace method and its caller raceStartScene. My guess is at this line (seems to be an attribute): you call implicitly calcRisk(td) when creating this object, you have no guarantee that td is … Read more