Uh, catching NPE ... is there really no other way to get past this?