Fix NPE on _st_dumpoints and others