Error thrown

Attempt to modify property "labels" on null