I am trying to see if an objects relation is null, if not then continue on. It keeps crashing on this line throwing a NullPointerException. How would I resolve this? I'm trying to see if this is null or not to begin with, but it just crashes saying NullPointerException?
if (currentObject.getRelation("interested") != null)
where currentObject is the ParseObject.