Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

demo报错了 #46

Open
wu21731 opened this issue Mar 7, 2019 · 0 comments
Open

demo报错了 #46

wu21731 opened this issue Mar 7, 2019 · 0 comments

Comments

@wu21731
Copy link

wu21731 commented Mar 7, 2019

2019-03-07 10:33:22.598 4798-4798/cn.bingoogolapple.baseadapter.demo E/AndroidRuntime: FATAL EXCEPTION: main
    Process: cn.bingoogolapple.baseadapter.demo, PID: 4798
    java.lang.NullPointerException: Attempt to read from field 'java.util.List cn.bingoogolapple.baseadapter.demo.model.BannerModel.imgs' on a null object reference
        at cn.bingoogolapple.baseadapter.demo.ui.fragment.RvBindingFragment$8.onResponse(RvBindingFragment.java:214)
        at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:68)
        at android.os.Handler.handleCallback(Handler.java:793)
        at android.os.Handler.dispatchMessage(Handler.java:98)
        at android.os.Looper.loop(Looper.java:173)
        at android.app.ActivityThread.main(ActivityThread.java:6698)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:782)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant