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

microstrategy.com | 2 months ago
  1. 0

    GitHub comment 4249#224621684

    GitHub | 6 months ago | kitsboy
    java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.CallbackContext.success(org.json.JSONObject)' on a null object reference
  2. 0

    Intermitent error when recovering from a crash

    GitHub | 6 months ago | brunosiqueira
    java.lang.RuntimeException: An error occured while executing doInBackground()
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 122#131081384

    GitHub | 1 year ago | SunHunter
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=195543262, result=-1, data=Intent { act=com.phonegap.plugins.barcodescanner.SCAN flg=0x80000 (has extras) }} to activity {amulet.apps.android/amulet.apps.android.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.CallbackContext.success(org.json.JSONObject)' on a null object reference
  5. 0

    Android - crash because loginContext is null in onCompleted

    GitHub | 10 months ago | NGumby
    java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.CallbackContext.success(org.json.JSONObject)' on a null object reference

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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