#U4-5530 Fixed Due in version: 7.2.0

Check if getElementById actually has a result before using it