java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference

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

    GitHub comment 27#239737105

    GitHub | 6 months ago | thelou1s
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    App crashes when another app is using Chromecast

    GitHub | 3 years ago | marques99
    java.lang.NullPointerException

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference

      at android.widget.AbsListView.obtainView()
    2. Android Platform
      ListView.onMeasure
      1. android.widget.AbsListView.obtainView(AbsListView.java:2363)
      2. android.widget.ListView.measureHeightOfChildren(ListView.java:1281)
      3. android.widget.ListView.onMeasure(ListView.java:1188)
      3 frames
    3. com.diegocarloslima.fgelv
      FloatingGroupExpandableListView.onMeasure
      1. com.diegocarloslima.fgelv.lib.FloatingGroupExpandableListView.onMeasure(FloatingGroupExpandableListView.java:204)
      1 frame
    4. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:18794)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
      4. android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1112)
      5. android.widget.LinearLayout.onMeasure(LinearLayout.java:632)
      6. android.view.View.measure(View.java:18794)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      8. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
      9. android.widget.LinearLayout.measureVertical(LinearLayout.java:748)
      10. android.widget.LinearLayout.onMeasure(LinearLayout.java:630)
      11. android.view.View.measure(View.java:18794)
      12. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      13. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      14. android.view.View.measure(View.java:18794)
      15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      16. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
      17. android.widget.LinearLayout.measureVertical(LinearLayout.java:748)
      18. android.widget.LinearLayout.onMeasure(LinearLayout.java:630)
      19. android.view.View.measure(View.java:18794)
      20. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      21. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      21 frames
    5. Android
      PhoneWindow$DecorView.onMeasure
      1. com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2643)
      1 frame
    6. Android Platform
      ActivityThread.main
      1. android.view.View.measure(View.java:18794)
      2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2100)
      3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1216)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1452)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
      7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
      8. android.view.Choreographer.doCallbacks(Choreographer.java:670)
      9. android.view.Choreographer.doFrame(Choreographer.java:606)
      10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
      11. android.os.Handler.handleCallback(Handler.java:739)
      12. android.os.Handler.dispatchMessage(Handler.java:95)
      13. android.os.Looper.loop(Looper.java:148)
      14. android.app.ActivityThread.main(ActivityThread.java:5417)
      14 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames