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

  1. 0

    Shared Element Transition Crash for Lollipop Devices

    Stack Overflow | 2 months ago | Veeresh Charantimath
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.ViewGroup.getScrollX()' on a null object reference
  2. 0

    NPE when doing shared element transition

    GitHub | 2 years ago | roundhill
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.ViewGroup.getScrollX()' on a null object reference
  3. 0

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

    Stack Overflow | 2 years ago | user2734182
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GLSurfaceView not appearing over MapView

    Stack Overflow | 2 years ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.opengl.GLSurfaceView$GLThread.surfaceCreated()' on a null object reference
  6. 0

    NullPointerException - Drawable.setBounds - probably due to fragment transitions

    Stack Overflow | 1 year ago | prom85
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setBounds(int, int, int, int)' on a null object reference

  1. filpgame 19 times, last 4 weeks ago
  2. sbattaglino 1 times, last 3 months ago
  3. FreeZy 1 times, last 5 months ago
  4. jk 1 times, last 5 months ago
  5. Diogo Jaym 2 times, last 6 months ago
7 more registered users
69 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 android.view.ViewGroup.getScrollX()' on a null object reference

    at android.app.ActivityTransitionCoordinator.setSharedElementState()
  2. Android Platform
    ActivityThread.main
    1. android.app.ActivityTransitionCoordinator.setSharedElementState(ActivityTransitionCoordinator.java:435)
    2. android.app.ActivityTransitionCoordinator.setSharedElementState(ActivityTransitionCoordinator.java:473)
    3. android.app.EnterTransitionCoordinator.startSharedElementTransition(EnterTransitionCoordinator.java:332)
    4. android.app.EnterTransitionCoordinator.access$200(EnterTransitionCoordinator.java:42)
    5. android.app.EnterTransitionCoordinator$5$1.run(EnterTransitionCoordinator.java:389)
    6. android.app.ActivityTransitionCoordinator.startTransition(ActivityTransitionCoordinator.java:698)
    7. android.app.EnterTransitionCoordinator$5.onPreDraw(EnterTransitionCoordinator.java:386)
    8. android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:847)
    9. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1990)
    10. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1088)
    11. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5825)
    12. android.view.Choreographer$CallbackRecord.run(Choreographer.java:769)
    13. android.view.Choreographer.doCallbacks(Choreographer.java:582)
    14. android.view.Choreographer.doFrame(Choreographer.java:552)
    15. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:755)
    16. android.os.Handler.handleCallback(Handler.java:739)
    17. android.os.Handler.dispatchMessage(Handler.java:95)
    18. android.os.Looper.loop(Looper.java:135)
    19. android.app.ActivityThread.main(ActivityThread.java:5237)
    19 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  4. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:707)
    2 frames