TypeError: Cannot read properties of null (reading 'getLastRow') (line 5, file "Code")