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

Stack Overflow | hend ahmed | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    about row file null refrence

    Stack Overflow | 6 months ago | hend ahmed
    java.lang.RuntimeException: An error occurred while executing doInBackground()

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object referenceandroid.content.Context.openFileInput(java.lang.String)' on a null object reference

      at com.example.a.dictionary.DictionaryLoader.doInBackground()
    2. com.example.a
      DictionaryLoader.doInBackground
      1. com.example.a.dictionary.DictionaryLoader.doInBackground(DictionaryLoader.java:56)
      2. com.example.a.dictionary.DictionaryLoader.doInBackground(DictionaryLoader.java:23)
      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