+ remove an empty line at the begining
+ check if geometry record (WKB) is not Null before attempting to parse
+ log Null geometry case ( via @TomH )