java.lang.NullPointerException

Stack Overflow | Adil | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at adil.fragments.Fragment1$1.onClick()
  2. adil.fragments
    Fragment1$1.onClick
    1. adil.fragments.Fragment1$1.onClick(Fragment1.java:56)
    1 frame
  3. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:4084)
    2. android.widget.CompoundButton.performClick(CompoundButton.java:100)
    3. android.view.View$PerformClick.run(View.java:16966)
    4. android.os.Handler.handleCallback(Handler.java:615)
    5. android.os.Handler.dispatchMessage(Handler.java:92)
    6. android.os.Looper.loop(Looper.java:137)
    7. android.app.ActivityThread.main(ActivityThread.java:4745)
    7 frames
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  5. 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
  6. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame