java.lang.NullPointerException

Stack Overflow | Gonzalo Arzeno | 5 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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.todosoft.frutifor.TabLectura$MyTableAdapter.getView()
  2. com.todosoft.frutifor
    TabLectura$MyTableAdapter.getView
    1. com.todosoft.frutifor.TabLectura$MyTableAdapter.getView(TabLectura.java:120)
    1 frame
  3. Android Platform
    View.measure
    1. android.widget.AbsListView.obtainView(AbsListView.java:2177)
    2. android.widget.ListView.onMeasure(ListView.java:1131)
    3. android.view.View.measure(View.java:15848)
    4. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5012)
    5. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    6. android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1052)
    7. android.widget.LinearLayout.onMeasure(LinearLayout.java:590)
    8. android.view.View.measure(View.java:15848)
    9. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5012)
    10. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    11. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    12. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    13. android.view.View.measure(View.java:15848)
    14. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5012)
    15. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    16. android.view.View.measure(View.java:15848)
    16 frames
  4. Android Support v4
    NestedScrollView.measureChildWithMargins
    1. android.support.v4.widget.NestedScrollView.measureChildWithMargins(NestedScrollView.java:1415)
    1 frame
  5. Android Platform
    FrameLayout.onMeasure
    1. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    1 frame
  6. Android Support v4
    NestedScrollView.onMeasure
    1. android.support.v4.widget.NestedScrollView.onMeasure(NestedScrollView.java:480)
    1 frame
  7. Android Platform
    View.measure
    1. android.view.View.measure(View.java:15848)
    1 frame
  8. Android Support v4
    ViewPager.onMeasure
    1. android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1560)
    1 frame
  9. Android Platform
    ViewGroup.measureChildWithMargins
    1. android.view.View.measure(View.java:15848)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5012)
    2 frames
  10. android.support.design
    CoordinatorLayout.onMeasure
    1. android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:668)
    2. android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:735)
    2 frames
  11. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:15848)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5012)
    3. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    3 frames
  12. Android v7
    ContentFrameLayout.onMeasure
    1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
    1 frame
  13. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:15848)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5012)
    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:15848)
    7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5012)
    8. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    9. android.view.View.measure(View.java:15848)
    10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5012)
    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:15848)
    15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5012)
    16. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    16 frames
  14. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2189)
    1 frame
  15. Android Platform
    Handler.dispatchMessage
    1. android.view.View.measure(View.java:15848)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1905)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1104)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1284)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1004)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5481)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:562)
    9. android.view.Choreographer.doFrame(Choreographer.java:532)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
    11. android.os.Handler.handleCallback(Handler.java:730)
    12. android.os.Handler.dispatchMessage(Handler.java:92)
    12 frames