java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.alorma.github.sdk.core.User.getLogin()' on a null object reference

GitHub | mariobrostech | 6 months ago
  1. 0

    Update Broke Everything!

    GitHub | 6 months ago | mariobrostech
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.alorma.github.sdk.core.User.getLogin()' on a null object reference
  2. 0

    Error in repository list

    GitHub | 7 months ago | simonsmh
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.alorma.github.sdk.core.User.getLogin()' on a null object reference
  3. 0
    The resource was accessed after it was dismissed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Initialize the variable before calling a method on it.
  6. 0
    Use 'dialog' to access views from custom_layout layout.

    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 'java.lang.String com.alorma.github.sdk.core.User.getLogin()' on a null object reference

      at com.alorma.github.ui.fragment.repos.ReposAdapter.onBindViewHolder()
    2. com.alorma.github
      RecyclerArrayAdapter.onBindViewHolder
      1. com.alorma.github.ui.fragment.repos.ReposAdapter.onBindViewHolder(ReposAdapter.java:48)
      2. com.alorma.github.ui.fragment.repos.ReposAdapter.onBindViewHolder(ReposAdapter.java:21)
      3. com.alorma.github.ui.adapter.base.RecyclerArrayAdapter.onBindViewHolder(RecyclerArrayAdapter.java:53)
      3 frames
    3. Android v7
      RecyclerView.onLayout
      1. android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:5768)
      2. android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:5801)
      3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5037)
      4. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4913)
      5. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2029)
      6. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1414)
      7. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1377)
      8. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:578)
      9. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3260)
      10. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3069)
      11. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3518)
      11 frames
    4. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:17945)
      2. android.view.ViewGroup.layout(ViewGroup.java:5812)
      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:17945)
      2. android.view.ViewGroup.layout(ViewGroup.java:5812)
      2 frames
    7. Android Support v4
      ViewPager.onLayout
      1. android.support.v4.view.ViewPager.onLayout(ViewPager.java:1759)
      1 frame
    8. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:17945)
      2. android.view.ViewGroup.layout(ViewGroup.java:5812)
      3. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742)
      4. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
      5. android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
      6. android.view.View.layout(View.java:17945)
      7. android.view.ViewGroup.layout(ViewGroup.java:5812)
      8. android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
      9. android.widget.FrameLayout.onLayout(FrameLayout.java:281)
      10. android.view.View.layout(View.java:17945)
      11. android.view.ViewGroup.layout(ViewGroup.java:5812)
      12. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742)
      13. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
      14. android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
      15. android.view.View.layout(View.java:17945)
      16. android.view.ViewGroup.layout(ViewGroup.java:5812)
      16 frames
    9. Android Support v4
      DrawerLayout.onLayout
      1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1191)
      1 frame
    10. Android Platform
      FrameLayout.onLayout
      1. android.view.View.layout(View.java:17945)
      2. android.view.ViewGroup.layout(ViewGroup.java:5812)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:281)
      5. android.view.View.layout(View.java:17945)
      6. android.view.ViewGroup.layout(ViewGroup.java:5812)
      7. android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
      8. android.widget.FrameLayout.onLayout(FrameLayout.java:281)
      9. android.view.View.layout(View.java:17945)
      10. android.view.ViewGroup.layout(ViewGroup.java:5812)
      11. android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
      12. android.widget.FrameLayout.onLayout(FrameLayout.java:281)
      13. android.view.View.layout(View.java:17945)
      14. android.view.ViewGroup.layout(ViewGroup.java:5812)
      15. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742)
      16. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
      17. android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
      18. android.view.View.layout(View.java:17945)
      19. android.view.ViewGroup.layout(ViewGroup.java:5812)
      20. android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
      21. android.widget.FrameLayout.onLayout(FrameLayout.java:281)
      21 frames
    11. Android
      PhoneWindow$DecorView.onLayout
      1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:3193)
      1 frame
    12. Android Platform
      ActivityThread.main
      1. android.view.View.layout(View.java:17945)
      2. android.view.ViewGroup.layout(ViewGroup.java:5812)
      3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2716)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2417)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1487)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7467)
      7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
      8. android.view.Choreographer.doCallbacks(Choreographer.java:695)
      9. android.view.Choreographer.doFrame(Choreographer.java:631)
      10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
      11. android.os.Handler.handleCallback(Handler.java:739)
      12. android.os.Handler.dispatchMessage(Handler.java:95)
      13. android.os.Looper.loop(Looper.java:158)
      14. android.app.ActivityThread.main(ActivityThread.java:7224)
      14 frames
    13. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    14. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
      2 frames