Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

Null Pointer Exception #6

Open
kingargyle opened this issue Nov 29, 2018 · 0 comments
Open

Null Pointer Exception #6

kingargyle opened this issue Nov 29, 2018 · 0 comments

Comments

@kingargyle
Copy link
Contributor

The following NPE is being thrown occassionally by some users out in the wild.

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.getHitRect(android.graphics.Rect)' on a null object reference
at net.ganin.darv.DpadAwareRecyclerView.requestChildFocusInner(DpadAwareRecyclerView.java:649)
at net.ganin.darv.DpadAwareRecyclerView.onScrollStateChanged(DpadAwareRecyclerView.java:629)
at android.support.v7.widget.RecyclerView.dispatchOnScrollStateChanged(RecyclerView.java:4873)
at android.support.v7.widget.RecyclerView.setScrollState(RecyclerView.java:1467)
at android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:5030)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:911)
at android.view.Choreographer.doCallbacks(Choreographer.java:723)
at android.view.Choreographer.doFrame(Choreographer.java:655)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant