java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.PackageInfo android.content.pm.PackageManager.getPackageInfo(java.lang.String, int)' on a null object reference 07-18 16:52:59.049 26421-26421/com.radio.stations W/System.err:

Stack Overflow | Mohaid Y | 5 months ago
  1. 0

    java.lang.NullPointerException with InterstitialAd admob

    Stack Overflow | 5 months ago | Mohaid Y
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.PackageInfo android.content.pm.PackageManager.getPackageInfo(java.lang.String, int)' on a null object reference 07-18 16:52:59.049 26421-26421/com.radio.stations W/System.err:
  2. 0

    Transparent Color NullpointerException

    Stack Overflow | 2 weeks ago | Kenertj
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setBackgroundColor(int)' on a null object reference W/System.err:
  3. 0

    NullPointerException in Android

    Stack Overflow | 9 months ago | Adarsh Jayakumar
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference 03-16 23:23:27.568 2443-2443/com.adarshjayakumar.skytype W/System.err:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android - TextToSpeech app Crashes with java.lang.NullPointerException; Null Object Reference

    Stack Overflow | 5 months ago | Arun K Babu
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.speech.tts.TextToSpeech.speak(java.lang.String, int, java.util.HashMap)' on a null object reference
  6. 0

    Text to speech in a fragment of ViewPager

    Stack Overflow | 4 months ago | mahziar
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.speech.tts.TextToSpeech.speak(java.lang.String, int, java.util.HashMap)' 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 'android.content.pm.PackageInfo android.content.pm.PackageManager.getPackageInfo(java.lang.String, int)' on a null object reference 07-18 16:52:59.049 26421-26421/com.radio.stations W/System.err:

      at com.google.android.gms.common.zze.isGooglePlayServicesAvailable()
    2. com.google.android
      InterstitialAd.loadAd
      1. com.google.android.gms.common.zze.isGooglePlayServicesAvailable(Unknown Source)
      2. com.google.android.gms.common.zzc.isGooglePlayServicesAvailable(Unknown Source)
      3. com.google.android.gms.ads.internal.util.client.zza.zzar(Unknown Source)
      4. com.google.android.gms.ads.internal.client.zzl.zza(Unknown Source)
      5. com.google.android.gms.ads.internal.client.zzl.zzb(Unknown Source)
      6. com.google.android.gms.ads.internal.client.zzaf.zzam(Unknown Source)
      7. com.google.android.gms.ads.internal.client.zzaf.zza(Unknown Source)
      8. com.google.android.gms.ads.InterstitialAd.loadAd(Unknown Source)
      8 frames
    3. com.Radio.Stations
      MusicPlayerControl$2.onTouch
      1. com.Radio.Stations.MusicPlayer.play(MusicPlayer.java:125)
      2. com.Radio.Stations.RadioList.nextOrPreviousRadioStation(RadioList.java:82)
      3. com.Radio.Stations.MusicPlayerControl$2.onTouch(MusicPlayerControl.java:94)
      3 frames
    4. Android Platform
      View.dispatchTouchEvent
      1. android.view.View.dispatchTouchEvent(View.java:8802)
      1 frame