When call_for_papers object is nil then the previous check throws an error for check at line no 16. So I modified the check to see that first the call_for papers object exsist for current conference object an the rest follow.