java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.Application android.support.v4.app.FragmentActivity.getApplication()' on a null object reference

GitHub | postadelmaga | 5 months ago
  1. 0

    GitHub comment 2615#230966665

    GitHub | 5 months ago | postadelmaga
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.Application android.support.v4.app.FragmentActivity.getApplication()' on a null object reference
  2. 0

    Crash at net.osmand.plus.base.BaseOsmAndFragment.getMyApplication()

    GitHub | 6 months ago | scaidermern
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.Application android.support.v4.app.FragmentActivity.getApplication()' on a null object reference
  3. 0

    Crash during map download at BaseOsmAndFragment.java:21

    GitHub | 7 months ago | scaidermern
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.Application android.support.v4.app.FragmentActivity.getApplication()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    crash on portrait/landscape

    GitHub | 12 months ago | lvaccaro
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.Application android.support.v4.app.FragmentActivity.getApplication()' on a null object reference
  6. 0

    Karten-Management hangs forever

    GitHub | 1 year ago | flohoff
    java.lang.RuntimeException: An error occured while executing doInBackground()

    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 'android.app.Application android.support.v4.app.FragmentActivity.getApplication()' on a null object reference

      at net.osmand.plus.base.BaseOsmAndFragment.getMyApplication()
    2. net.osmand.plus
      LocalIndexesFragment$LoadLocalIndexTask.onProgressUpdate
      1. net.osmand.plus.base.BaseOsmAndFragment.getMyApplication(BaseOsmAndFragment.java:21)
      2. net.osmand.plus.download.ui.LocalIndexesFragment.access$1000(LocalIndexesFragment.java:78)
      3. net.osmand.plus.download.ui.LocalIndexesFragment$LocalIndexesAdapter.addLocalIndexInfo(LocalIndexesFragment.java:910)
      4. net.osmand.plus.download.ui.LocalIndexesFragment$LoadLocalIndexTask.onProgressUpdate(LocalIndexesFragment.java:342)
      5. net.osmand.plus.download.ui.LocalIndexesFragment$LoadLocalIndexTask.onProgressUpdate(LocalIndexesFragment.java:317)
      5 frames
    3. Android Platform
      ActivityThread.main
      1. android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:656)
      2. android.os.Handler.dispatchMessage(Handler.java:102)
      3. android.os.Looper.loop(Looper.java:135)
      4. android.app.ActivityThread.main(ActivityThread.java:5290)
      4 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
      2 frames