a temporary fix

currentFace.getNumVertices() is returning 0 and causing an error at line 85