When I run the code it shows the error \' weakly referenced object no longer exists\'. How do I find out which object is weakly referenced ? How could I solve this issue?