Null pointer handling for schema parser