java.lang.NullPointerException

Attempt to invoke virtual method 'android.content.res.Resources$Theme android.content.Context.getTheme()' on a null object reference

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 web79

  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources$Theme android.content.Context.getTheme()' on a null object reference at android.app.AlertDialog.resolveDialogTheme(AlertDialog.java:154) at android.app.AlertDialog.<init>(AlertDialog.java:109) at android.app.ProgressDialog.<init>(ProgressDialog.java:77) at com.a2.a2.ConnectionStatus.showProgress(ConnectionStatus.java:66) at com.a2.a2.signUp.Choose_CountryFragment$1.onCheckedChanged(Choose_CountryFragment.java:73)

    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

    Unknown visitor
    Unknown visitor3 times, last one
    filpgamefilpgame
    4 times, last one
    AkshayAkshay
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    12 more bugmates