I have created IntentService class and performing asyncTask but getting exception when onPreExecute() is called at this code line
IntentService
asyncTask
onPreExecute()
It is not a good practice to use AsyncTask inside IntentService sub-classes or even JobIntentService sub-classes. In the case of JobIntentServices it causes crash too.