java.lang.NullPointerException

Stack Overflow | deathsonic | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Call method in another method?

    Stack Overflow | 4 years ago | KickAss
    java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.SCREEN_OFF flg=0x50000010 } in com.wifitimer.ScreenReceiver@42312238
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.getApplicationContext()
  2. Android Platform
    ContextWrapper.getApplicationContext
    1. android.content.ContextWrapper.getApplicationContext(ContextWrapper.java:101)
    1 frame
  3. geepool.workonworkoff
    WorkOn$1.onClick
    1. geepool.workonworkoff.Dialogs.WorkOnSavedDialog(Dialogs.java:27)
    2. geepool.workonworkoff.WorkOn$1.onClick(WorkOn.java:97)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:4084)
    2. android.view.View$PerformClick.run(View.java:16966)
    3. android.os.Handler.handleCallback(Handler.java:615)
    4. android.os.Handler.dispatchMessage(Handler.java:92)
    5. android.os.Looper.loop(Looper.java:137)
    6. android.app.ActivityThread.main(ActivityThread.java:4745)
    6 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame