In handleSetItems(), processData() is called without any check for getListView(). If you definitely want a check for getListView() before processData(), why not add this check to the processData()?