java.lang.NullPointerException

Stack Overflow | Intimate | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    assigning Images through adapter

    Stack Overflow | 10 months ago | prakshi
    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 android.widget.AbsListView.obtainView()
  2. Android Platform
    FrameLayout.onMeasure
    1. android.widget.AbsListView.obtainView(AbsListView.java:2277)
    2. android.widget.ListView.measureHeightOfChildren(ListView.java:1263)
    3. android.widget.ListView.onMeasure(ListView.java:1175)
    4. android.view.View.measure(View.java:16514)
    5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5129)
    6. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    7. android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1052)
    8. android.widget.LinearLayout.onMeasure(LinearLayout.java:590)
    9. android.view.View.measure(View.java:16514)
    10. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:719)
    11. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:455)
    12. android.view.View.measure(View.java:16514)
    13. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5129)
    14. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    15. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    16. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    17. android.view.View.measure(View.java:16514)
    18. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:719)
    19. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:455)
    20. android.view.View.measure(View.java:16514)
    21. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5129)
    22. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    22 frames
  3. Android v7
    ContentFrameLayout.onMeasure
    1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
    1 frame
  4. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:16514)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5129)
    3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    4. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    5. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    6. android.view.View.measure(View.java:16514)
    7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5129)
    8. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    9. android.view.View.measure(View.java:16514)
    10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5129)
    11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    12. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    13. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    14. android.view.View.measure(View.java:16514)
    15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5129)
    16. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    16 frames
  5. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2305)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.view.View.measure(View.java:16514)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1912)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1109)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1291)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:996)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5600)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:574)
    9. android.view.Choreographer.doFrame(Choreographer.java:544)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
    11. android.os.Handler.handleCallback(Handler.java:733)
    12. android.os.Handler.dispatchMessage(Handler.java:95)
    13. android.os.Looper.loop(Looper.java:136)
    14. android.app.ActivityThread.main(ActivityThread.java:5095)
    14 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:786)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame