java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.app.DialogFragment.dismiss()' on a null object reference

GitHub | AndyScherzinger | 5 months ago
  1. 0

    NPE in CheckAvailableSpaceTask.onPostExecute

    GitHub | 5 months ago | AndyScherzinger
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.app.DialogFragment.dismiss()' on a null object reference
  2. 0
    Use 'dialog' to access views from custom_layout layout.
  3. 0
    The resource was accessed after it was dismissed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Initialize the variable before calling a method on it.
  6. 0
    The parsed JSON does not contains the requested field.

    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 'void android.support.v4.app.DialogFragment.dismiss()' on a null object reference

      at com.owncloud.android.ui.activity.UploadFilesActivity$CheckAvailableSpaceTask.onPostExecute()
    2. com.owncloud.android
      UploadFilesActivity$CheckAvailableSpaceTask.onPostExecute
      1. com.owncloud.android.ui.activity.UploadFilesActivity$CheckAvailableSpaceTask.onPostExecute(UploadFilesActivity.java:440)
      2. com.owncloud.android.ui.activity.UploadFilesActivity$CheckAvailableSpaceTask.onPostExecute(UploadFilesActivity.java:400)
      2 frames
    3. Android Platform
      AsyncTask.finish
      1. android.os.AsyncTask.finish(AsyncTask.java:651)
      1 frame