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

remobjects.com | 3 months ago
  1. 0

    Shared Project: Android app and iOS app sample apps - Silver - RemObjects Talk

    remobjects.com | 3 months ago
    java.lang.RuntimeException: An error occurred while executing doInBackground()

    Root Cause Analysis

    1. sugar.SugarAppContextMissingException

      Environment.ApplicationContext is not set. at samplelibrary.SharedClassTest.databaseSetup(/Volumes/MacHDD2/Developmemt/ParisiLabs/swift-promise-example/StaticLibrary/SharedProject/Library.swift:13)

      at musixmatch.com.sampleandroidapp.MainActivity$BrowserTask.doInBackground()
    2. musixmatch.com.sampleandroidapp
      MainActivity$BrowserTask.doInBackground
      1. musixmatch.com.sampleandroidapp.MainActivity$BrowserTask.doInBackground(MainActivity.java:82)
      2. musixmatch.com.sampleandroidapp.MainActivity$BrowserTask.doInBackground(MainActivity.java:66)
      2 frames
    3. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:295)
      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:234)
      1 frame
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames