java.lang.NullPointerException

Stack Overflow | Jethro | 3 months ago
  1. 0

    NPE when using include layout

    Stack Overflow | 5 months ago | leenolasco
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getVisibility()' on a null object reference
  2. 0

    android Object.toString() on a null object

    Stack Overflow | 6 months ago | DAVIDBALAS1
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    App is crashing when I am opening a basic activity

    Stack Overflow | 5 months ago | walimbeakshay
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getVisibility()' on a null object reference
  5. 0

    (ArrayAdapter maybe) / / 'java.lang.String java.lang.Object.toString()' on a null object reference

    Stack Overflow | 4 months ago | S.Doan
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference

    5 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

      No message provided

      at android.widget.GridLayout$Axis.computeGroupBounds()
    2. Android Platform
      ViewGroup.measureChildWithMargins
      1. android.widget.GridLayout$Axis.computeGroupBounds(GridLayout.java:1261)
      2. android.widget.GridLayout$Axis.getGroupBounds(GridLayout.java:1276)
      3. android.widget.GridLayout$Axis.createLinks(GridLayout.java:1285)
      4. android.widget.GridLayout$Axis.getForwardLinks(GridLayout.java:1311)
      5. android.widget.GridLayout$Axis.createArcs(GridLayout.java:1436)
      6. android.widget.GridLayout$Axis.getArcs(GridLayout.java:1469)
      7. android.widget.GridLayout$Axis.computeLocations(GridLayout.java:1640)
      8. android.widget.GridLayout$Axis.getLocations(GridLayout.java:1661)
      9. android.widget.GridLayout$Axis.getMeasure(GridLayout.java:1682)
      10. android.widget.GridLayout$Axis.getMeasure(GridLayout.java:1696)
      11. android.widget.GridLayout.onMeasure(GridLayout.java:995)
      12. android.view.View.measure(View.java:15264)
      13. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4918)
      14. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1390)
      15. android.widget.LinearLayout.measureVertical(LinearLayout.java:681)
      16. android.widget.LinearLayout.onMeasure(LinearLayout.java:574)
      17. android.view.View.measure(View.java:15264)
      18. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:617)
      19. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:399)
      20. android.view.View.measure(View.java:15264)
      21. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4918)
      22. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
      23. android.view.View.measure(View.java:15264)
      24. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:617)
      25. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:399)
      26. android.view.View.measure(View.java:15264)
      27. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4918)
      27 frames
    3. android.support.design
      CoordinatorLayout.onMeasure
      1. android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:610)
      2. android.support.design.widget.HeaderScrollingViewBehavior.onMeasureChild(HeaderScrollingViewBehavior.java:78)
      3. android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onMeasureChild(AppBarLayout.java:1132)
      4. android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:675)
      4 frames
    4. Android Platform
      View.measure
      1. android.view.View.measure(View.java:15264)
      1 frame
    5. Android Support v4
      DrawerLayout.onMeasure
      1. android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:940)
      1 frame
    6. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:15264)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4918)
      3. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
      3 frames
    7. Android v7
      ContentFrameLayout.onMeasure
      1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
      1 frame
    8. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:15264)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4918)
      3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1390)
      4. android.widget.LinearLayout.measureVertical(LinearLayout.java:681)
      5. android.widget.LinearLayout.onMeasure(LinearLayout.java:574)
      6. android.view.View.measure(View.java:15264)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4918)
      8. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
      9. android.view.View.measure(View.java:15264)
      10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4918)
      11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1390)
      12. android.widget.LinearLayout.measureVertical(LinearLayout.java:681)
      13. android.widget.LinearLayout.onMeasure(LinearLayout.java:574)
      14. android.view.View.measure(View.java:15264)
      15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4918)
      16. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
      16 frames
    9. Android
      PhoneWindow$DecorView.onMeasure
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2161)
      1 frame
    10. Android Platform
      ViewRootImpl.performTraversals
      1. android.view.View.measure(View.java:15264)
      2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2131)
      3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1242)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1435)
      4 frames