java.lang.NullPointerException

GitHub | rockerhieu | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at me.tatarka.bindingcollectionadapter.ItemViewArg.layoutRes()
  2. me.tatarka.bindingcollectionadapter
    BindingViewPagerAdapter.instantiateItem
    1. me.tatarka.bindingcollectionadapter.ItemViewArg.layoutRes(ItemViewArg.java:37)
    2. me.tatarka.bindingcollectionadapter.BindingViewPagerAdapter.instantiateItem(BindingViewPagerAdapter.java:99)
    2 frames
  3. Android Support v4
    ViewPager.onMeasure
    1. android.support.v4.view.ViewPager.addNewItem(ViewPager.java:870)
    2. android.support.v4.view.ViewPager.populate(ViewPager.java:1020)
    3. android.support.v4.view.ViewPager.populate(ViewPager.java:952)
    4. android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1474)
    4 frames
  4. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:16497)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    3. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    4. android.view.View.measure(View.java:16497)
    5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    6. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    6 frames
  5. Android v7
    ContentFrameLayout.onMeasure
    1. android.support.v7.internal.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:124)
    1 frame
  6. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:16497)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    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:16497)
    7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    8. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    9. android.view.View.measure(View.java:16497)
    10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    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:16497)
    15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    16. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    16 frames
  7. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2291)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.view.View.measure(View.java:16497)
    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:5001)
    14 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame