java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference

GitHub | wuzhaohui026 | 3 months ago
  1. 0

    BaseMultiItemQuickAdapter 报错

    GitHub | 3 months ago | wuzhaohui026
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
  2. 0

    很棒的库,网络断开就崩溃了。

    GitHub | 6 months ago | focus2846
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
  3. 0

    BaseMultiItemQuickAdapter 报错

    GitHub | 4 months ago | saky0542
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 320#246561912

    GitHub | 3 months ago | solomon2
    java.lang.NullPointerException
  6. 0

    App crashes on image capture

    GitHub | 2 years ago | leapfrog-santosh
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference

    1 unregistered visitors
    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

      Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference

      at com.chad.library.adapter.base.BaseMultiItemQuickAdapter.getLayoutId()
    2. com.chad.library
      BaseQuickAdapter.onCreateViewHolder
      1. com.chad.library.adapter.base.BaseMultiItemQuickAdapter.getLayoutId(BaseMultiItemQuickAdapter.java:42)
      2. com.chad.library.adapter.base.BaseMultiItemQuickAdapter.onCreateDefViewHolder(BaseMultiItemQuickAdapter.java:38)
      3. com.chad.library.adapter.base.BaseQuickAdapter.onCreateViewHolder(BaseQuickAdapter.java:518)
      4. com.chad.library.adapter.base.BaseQuickAdapter.onCreateViewHolder(BaseQuickAdapter.java:38)
      4 frames
    3. Android v7
      RecyclerView.onLayout
      1. android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5779)
      2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5003)
      3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4913)
      4. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2029)
      5. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1414)
      6. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1377)
      7. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:578)
      8. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3260)
      9. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3069)
      10. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3518)
      10 frames
    4. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      2 frames
    5. Android Support v4
      SwipeRefreshLayout.onLayout
      1. android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:598)
      1 frame
    6. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      4. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      5. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      6. android.view.View.layout(View.java:16630)
      7. android.view.ViewGroup.layout(ViewGroup.java:5437)
      7 frames
    7. Android Support v4
      ViewPager.onLayout
      1. android.support.v4.view.ViewPager.onLayout(ViewPager.java:1761)
      1 frame
    8. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      4. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      5. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      6. android.view.View.layout(View.java:16630)
      7. android.view.ViewGroup.layout(ViewGroup.java:5437)
      7 frames
    9. Android Support v4
      ViewPager.onLayout
      1. android.support.v4.view.ViewPager.onLayout(ViewPager.java:1761)
      1 frame
    10. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
      4. android.view.View.layout(View.java:16630)
      5. android.view.ViewGroup.layout(ViewGroup.java:5437)
      6. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      7. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      8. android.view.View.layout(View.java:16630)
      9. android.view.ViewGroup.layout(ViewGroup.java:5437)
      10. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      11. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      12. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      13. android.view.View.layout(View.java:16630)
      14. android.view.ViewGroup.layout(ViewGroup.java:5437)
      15. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      16. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      17. android.view.View.layout(View.java:16630)
      18. android.view.ViewGroup.layout(ViewGroup.java:5437)
      19. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      20. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      21. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      22. android.view.View.layout(View.java:16630)
      23. android.view.ViewGroup.layout(ViewGroup.java:5437)
      23 frames