You said line 72 contains this code:
if (salaId != null || !salaId.equals("") && img != null || !img.equals(""))
If so, then either salaId
or img
is null
. Use TextUtils.isEmpty()
in your condition to handle both empty and null cases:
if (!TextUtils.isEmpty(salaId) && !TextUtils.isEmpty(img))