java.lang.RuntimeException: Unable to resume activity {in.ddas.pretense/in.ddas.pretense.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.dropbox.client2.session.Session com.dropbox.client2.DropboxAPI.getSession()' on a null object reference

Stack Overflow | Jeet.Deir | 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

    Authentication and Upload Error

    Stack Overflow | 6 months ago | Jeet.Deir
    java.lang.RuntimeException: Unable to resume activity {in.ddas.pretense/in.ddas.pretense.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.dropbox.client2.session.Session com.dropbox.client2.DropboxAPI.getSession()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'com.dropbox.client2.session.Session com.dropbox.client2.DropboxAPI.getSession()' on a null object reference

      at in.ddas.pretense.MainActivity.onResume()
    2. in.ddas.pretense
      MainActivity.onResume
      1. in.ddas.pretense.MainActivity.onResume(MainActivity.java:107)
      1 frame
    3. Android Platform
      ActivityThread.performResumeActivity
      1. android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1241)
      2. android.app.Activity.performResume(Activity.java:6019)
      3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:2940)
      3 frames