java.lang.NullPointerException

Stack Overflow | Belz123PL | 2 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Alert Dialog Builder stop responding

    Stack Overflow | 4 years ago | Bobby
    java.lang.NullPointerException
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

    No message provided

    at android.content.ContextWrapper.getApplicationInfo()
  2. Android Platform
    AlertDialog$Builder.<init>
    1. android.content.ContextWrapper.getApplicationInfo(ContextWrapper.java:152)
    2. android.view.ContextThemeWrapper.getTheme(ContextThemeWrapper.java:103)
    3. android.app.AlertDialog.resolveDialogTheme(AlertDialog.java:143)
    4. android.app.AlertDialog$Builder.<init>(AlertDialog.java:360)
    4 frames
  3. promocje
    MainActivity.showAlert
    1. promocje.MainActivity.showAlert(MainActivity.java:164)
    1 frame
  4. promocje.db.engine
    DatabaseHandler.useCoupon
    1. promocje.db.engine.DatabaseHandler.useCoupon(DatabaseHandler.java:889)
    1 frame
  5. promocje.adapter
    CouponListAdapter$1$1.onFinish
    1. promocje.adapter.CouponListAdapter.useCoupon(CouponListAdapter.java:166)
    2. promocje.adapter.CouponListAdapter$1$1.onFinish(CouponListAdapter.java:144)
    2 frames
  6. Android Platform
    ActivityThread.main
    1. android.os.CountDownTimer$1.handleMessage(CountDownTimer.java:118)
    2. android.os.Handler.dispatchMessage(Handler.java:102)
    3. android.os.Looper.loop(Looper.java:136)
    4. android.app.ActivityThread.main(ActivityThread.java:5017)
    4 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame