java.lang.RuntimeException: An error occured while executing doInBackground()

howtobuildsoftware.com | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.example.gravitas2015.MainActivity$jsonhandler.handleResponse()
  2. com.example.gravitas2015
    MainActivity$jsonhandler.handleResponse
    1. com.example.gravitas2015.MainActivity$jsonhandler.handleResponse(MainActivity.java:284)
    2. com.example.gravitas2015.MainActivity$jsonhandler.handleResponse(MainActivity.java:1)
    2 frames
  3. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657)
    2. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:627)
    3. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:616)
    3 frames
  4. Android Platform
    AndroidHttpClient.execute
    1. android.net.http.AndroidHttpClient.execute(AndroidHttpClient.java:273)
    1 frame
  5. com.example.gravitas2015
    MainActivity$request.doInBackground
    1. com.example.gravitas2015.MainActivity$request.doInBackground(MainActivity.java:250)
    2. com.example.gravitas2015.MainActivity$request.doInBackground(MainActivity.java:1)
    2 frames
  6. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:288)
    1 frame
  7. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  8. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    1 frame
  9. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:841)
    3 frames