Don’t proceed with downloading external media if the method arguments are null. Most likely the cause of this was that the activity had finished.