I get the error when I click on the delete button. The full code is big so i used the frame in which the error occurred. llllllllllllllllllllllllllllllllllllllllllllllllllll