JBTM-1768 update to check resp is NULL