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:

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Stack Overflow by Arpan Sharma
    ,
  • Stack trace

    • 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(Unknown Source) at com.google.android.gms.common.zzc.isGooglePlayServicesAvailable(Unknown Source) at com.google.android.gms.ads.internal.util.client.zza.zzar(Unknown Source) at com.google.android.gms.ads.internal.client.zzl.zza(Unknown Source) at com.google.android.gms.ads.internal.client.zzl.zzb(Unknown Source) at com.google.android.gms.ads.internal.client.zzaf.zzam(Unknown Source) at com.google.android.gms.ads.internal.client.zzaf.zza(Unknown Source) at com.google.android.gms.ads.InterstitialAd.loadAd(Unknown Source) at com.Radio.Stations.MusicPlayer.play(MusicPlayer.java:125) at com.Radio.Stations.RadioList.nextOrPreviousRadioStation(RadioList.java:82) at com.Radio.Stations.MusicPlayerControl$2.onTouch(MusicPlayerControl.java:94) at android.view.View.dispatchTouchEvent(View.java:8802)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.