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

microstrategy.com | 1 month 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

    Attempt to invoke virtual method 'org.json.JSONObject com.microstrategy.android.model.config.MobileConfig.getJson()' on a null object reference

    at com.microstrategy.android.db.PreferencesDBAdapter.setTaskServletNameOnConfig()
  2. com.microstrategy.android
    MstrApplication$6.doInBackground
    1. com.microstrategy.android.db.PreferencesDBAdapter.setTaskServletNameOnConfig(PreferencesDBAdapter.java:511)
    2. com.microstrategy.android.db.PreferencesDBAdapter.getConfiguration(PreferencesDBAdapter.java:449)
    3. com.microstrategy.android.db.PreferencesDBAdapter.getConfigObject(PreferencesDBAdapter.java:489)
    4. com.microstrategy.android.db.PreferencesDBAdapter.getNetworkTimeout(PreferencesDBAdapter.java:337)
    5. com.microstrategy.android.db.MstrDBManager.getNetworkTimeout(MstrDBManager.java:271)
    6. com.microstrategy.android.MstrApplication$6.doInBackground(MstrApplication.java:514)
    7. com.microstrategy.android.MstrApplication$6.doInBackground(MstrApplication.java:499)
    7 frames
  3. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:288)
    1 frame
  4. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  5. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    1 frame
  6. 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:818)
    3 frames