a guest Mar 18th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #2
  2.     Process: com.example.kcsassistant, PID: 4344
  3.     java.lang.RuntimeException: An error occurred while executing doInBackground()
  4.         at android.os.AsyncTask$3.done(
  5.         at java.util.concurrent.FutureTask.finishCompletion(
  6.         at java.util.concurrent.FutureTask.setException(
  7.         at
  8.         at android.os.AsyncTask$SerialExecutor$
  9.         at java.util.concurrent.ThreadPoolExecutor.runWorker(
  10.         at java.util.concurrent.ThreadPoolExecutor$
  11.         at
  12.      Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'org.json.JSONArray org.json.JSONObject.getJSONArray(java.lang.String)' on a null object reference
  13.         at com.example.kcsassistant.Activities.LoginActivity$UserLoginTask.doInBackground(
  14.         at com.example.kcsassistant.Activities.LoginActivity$UserLoginTask.doInBackground(
  15.         at android.os.AsyncTask$
  16.         at
  17.         at android.os.AsyncTask$SerialExecutor$ 
  18.         at java.util.concurrent.ThreadPoolExecutor.runWorker( 
  19.         at java.util.concurrent.ThreadPoolExecutor$ 
  20.         at 
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand