This question already has an answer here:
I have a large point feature class and have realised that there are several hundred features with null geometry. Fortunately the coordinates are stored as an attribute. What I need to do is update the geometry of the points with the x and y stores in the attribute table.
After a little search I found an Esri Support Services Blog post on How to Update the Location of a Point Feature and Its XY Fields which includes a python function that will do this for me in the field calculator.
However, it seems that this will only work on features with a geometry. When I run it on the null geometry features it returns a syntax error. presumably this is because there is no shape or there is no shape.getpart(0).
Is there something I could add to this script to allow it to update null geometries, or does anyone have another method?