Error thrown

Attempt to modify property "ID" on null