Ubidots Community

Android App crashed when internet connection is lost

i performing asynctask repeatedly but when internet connection lost The app crashed and shows a error (java.lang.RuntimeException: An error occured while executing doInBackground()).