Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

when move the index page, app will force stop #1

Open
tsj123 opened this issue Mar 29, 2018 · 0 comments
Open

when move the index page, app will force stop #1

tsj123 opened this issue Mar 29, 2018 · 0 comments

Comments

@tsj123
Copy link

tsj123 commented Mar 29, 2018

E/AndroidRuntime(22777): FATAL EXCEPTION: main
E/AndroidRuntime(22777): Process: com.yyp.qm, PID: 22777
E/AndroidRuntime(22777): java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
E/AndroidRuntime(22777): at com.chad.library.adapter.base.BaseMultiItemQuickAdapter.getLayoutId(BaseMultiItemQuickAdapter.java:52)
E/AndroidRuntime(22777): at com.chad.library.adapter.base.BaseMultiItemQuickAdapter.onCreateDefViewHolder(BaseMultiItemQuickAdapter.java:48)
E/AndroidRuntime(22777): at com.chad.library.adapter.base.BaseQuickAdapter.onCreateViewHolder(BaseQuickAdapter.java:667)
E/AndroidRuntime(22777): at com.chad.library.adapter.base.BaseQuickAdapter.onCreateViewHolder(BaseQuickAdapter.java:64)
E/AndroidRuntime(22777): at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:6367)
E/AndroidRuntime(22777): at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5555)
E/AndroidRuntime(22777): at android.support.v7.widget.GapWorker.prefetchPositionWithDeadline(GapWorker.java:282)
E/AndroidRuntime(22777): at android.support.v7.widget.GapWorker.flushTaskWithDeadline(GapWorker.java:336)
E/AndroidRuntime(22777): at android.support.v7.widget.GapWorker.flushTasksWithDeadline(GapWorker.java:349)
E/AndroidRuntime(22777): at android.support.v7.widget.GapWorker.prefetch(GapWorker.java:356)
E/AndroidRuntime(22777): at android.support.v7.widget.GapWorker.run(GapWorker.java:387)
E/AndroidRuntime(22777): at android.os.Handler.handleCallback(Handler.java:815)
E/AndroidRuntime(22777): at android.os.Handler.dispatchMessage(Handler.java:104)
E/AndroidRuntime(22777): at android.os.Looper.loop(Looper.java:194)
E/AndroidRuntime(22777): at android.app.ActivityThread.main(ActivityThread.java:5898)
E/AndroidRuntime(22777): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(22777): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(22777): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1019)
E/AndroidRuntime(22777): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:814)
W/ActivityManager( 816): Force finishing activity 1 com.yyp.qm/.main.MainActivity

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant