This is probably because no pointer is associated to that PaD. Clicking function must be modified to prevent the crashing