java.lang.NullPointerException: Attempt to invoke virtual method 'void org.altbeacon.beacon.BeaconManager.setBackgroundMode(boolean)' on a null object reference

GitHub | jeffkelsey | 1 week ago
  1. 0

    NPE in BackgroundPowerSaver onActivityPaused and onActivityResume

    GitHub | 1 week ago | jeffkelsey
    java.lang.NullPointerException: Attempt to invoke virtual method 'void org.altbeacon.beacon.BeaconManager.setBackgroundMode(boolean)' on a null object reference
  2. 0

    onPause() crashes when calling mediaplayer.isPlaying()

    Stack Overflow | 6 months ago | Devansh
    java.lang.RuntimeException: Unable to pause activity {com.music.track/com.music.track.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.media.MediaPlayer.isPlaying()' on a null object reference
  3. 0

    Android - ZXing Scanner error in stopCamera inside onPause

    Stack Overflow | 6 months ago | Maki
    java.lang.RuntimeException: Unable to pause activity {com.busticketing.busticketing/com.busticketing.busticketing.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void me.dm7.barcodescanner.zxing.ZXingScannerView.stopCamera()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Plugin crashes on Android on pause

    GitHub | 4 months ago | TsvetinaIvanova
    java.lang.RuntimeException: Unable to pause activity {com.sth.sth/com.sth.sth.TelerikCallbackActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.mapbox.mapboxsdk.views.MapView.onPause()' on a null object reference

    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 org.altbeacon.beacon.BeaconManager.setBackgroundMode(boolean)' on a null object reference

      at org.altbeacon.beacon.powersave.BackgroundPowerSaver.onActivityPaused()
    2. org.altbeacon.beacon
      BackgroundPowerSaver.onActivityPaused
      1. org.altbeacon.beacon.powersave.BackgroundPowerSaver.onActivityPaused(SourceFile:76)
      1 frame
    3. Android Platform
      Activity.onPause
      1. android.app.Application.dispatchActivityPaused(Application.java:247)
      2. android.app.Activity.onPause(Activity.java:1652)
      2 frames
    4. Android Support v4
      FragmentActivity.onPause
      1. android.support.v4.app.FragmentActivity.onPause(SourceFile:440)
      1 frame
    5. com.ticketmaster.mobile
      MainActivity.onPause
      1. com.ticketmaster.mobile.android.library.activity.DrawerActivity.onPause(SourceFile:223)
      2. com.ticketmaster.mobile.android.library.activity.MainActivity.onPause(SourceFile:218)
      2 frames
    6. Android Platform
      Looper.loop
      1. android.app.Activity.performPause(Activity.java:7033)
      2. android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1339)
      3. android.app.ActivityThread.performPauseActivity(ActivityThread.java:4572)
      4. android.app.ActivityThread.performPauseActivity(ActivityThread.java:4545)
      5. android.app.ActivityThread.handlePauseActivity(ActivityThread.java:4520)
      6. android.app.ActivityThread.access$1300(ActivityThread.java:221)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1805)
      8. android.os.Handler.dispatchMessage(Handler.java:102)
      9. android.os.Looper.loop(Looper.java:158)
      9 frames