Topic This occurs when a GOTO statement or GOSUB statement points to a line number that does not exist in the program. It will also occur if an error occurs in a program with an active TRAP statement where the line number specified in the TRAP statement does not exist.