java.lang.NullPointerException

Stack Overflow | Abdul.Moqueet | 2 months ago
  1. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 com.abdul.moqueet.unitconverter.MainFragment$1$1.afterTextChanged()
    2. com.abdul.moqueet
      MainFragment$1$1.afterTextChanged
      1. com.abdul.moqueet.unitconverter.MainFragment$1$1.afterTextChanged(MainFragment.java:141)
      1 frame
    3. Android Platform
      ViewGroup.dispatchKeyEvent
      1. android.widget.TextView.sendAfterTextChanged(TextView.java:7247)
      2. android.widget.TextView$ChangeWatcher.afterTextChanged(TextView.java:8891)
      3. android.text.SpannableStringBuilder.sendAfterTextChanged(SpannableStringBuilder.java:970)
      4. android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:497)
      5. android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:435)
      6. android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:30)
      7. android.text.method.NumberKeyListener.onKeyDown(NumberKeyListener.java:121)
      8. android.widget.TextView.doKeyDown(TextView.java:5385)
      9. android.widget.TextView.onKeyDown(TextView.java:5204)
      10. android.view.KeyEvent.dispatch(KeyEvent.java:2609)
      11. android.view.View.dispatchKeyEvent(View.java:7205)
      12. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1359)
      13. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1359)
      14. android.widget.ScrollView.dispatchKeyEvent(ScrollView.java:353)
      15. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1359)
      16. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1359)
      17. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1359)
      18. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1359)
      19. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1359)
      20. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1359)
      21. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1359)
      22. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1359)
      22 frames
    4. Android
      PhoneWindow.superDispatchKeyEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:1920)
      2. com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1395)
      2 frames
    5. Android Platform
      Activity.dispatchKeyEvent
      1. android.app.Activity.dispatchKeyEvent(Activity.java:2370)
      1 frame
    6. Android v7
      WindowCallbackWrapper.dispatchKeyEvent
      1. android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:524)
      2. android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:50)
      3. android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:241)
      4. android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:50)
      4 frames
    7. Android
      PhoneWindow$DecorView.dispatchKeyEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1847)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.view.ViewRootImpl.deliverKeyEventPostIme(ViewRootImpl.java:3701)
      2. android.view.ViewRootImpl.deliverKeyEvent(ViewRootImpl.java:3626)
      3. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:3161)
      4. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:4292)
      5. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:4271)
      6. android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:2976)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:5041)
      9 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
      2 frames
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame