While it's a pretty meaningless case, `feature.getGeometry()` could return `null` here.