线上野火导致app崩溃

lt 1月前 65

崩溃日志如下

↓↓↓↓ App info ↓↓↓↓ App Version: 1.0.1(1) ↓↓↓↓ OS info ↓↓↓↓ OS Version: 10(29) Vendor: SM-G960U1(samsung) CPU ABI: arm64-v8a armeabi-v7a armeabi ↓↓↓↓ User info ↓↓↓↓ AnchorInfoBean(userId=1312824, heat=null, userNo=5299614, cover=(这里是图片地址,不方便展示), commission=0.0, commissionRate=0.0, connectionRate=0.0, email=(这里是邮箱地址,不方便展示), followStatus=1, headImage=(这里是图片地址,不方便展示), aafTotal=null, aaiTotal=null, aaiCommentList=null, aafCommentList=null, token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MDI1OTUxNzcsInVzZXJJZCI6MTMxMjgyNCwiaWF0IjoxNjcxMDU5MTc3fQ.KsyYdKrybFuyLAnqDYBNEFHV06VwkAJj3u7on_AkVts, rtmToken=006548a662a46af40c5ba8a5b8908c139c7IADtBEdTAmE/R5NaDXr+km1uEEyPtzO7g6+/s5jSGVdsDGuxSTEAAAAAEAAFI3cGaaibYwEA6ANpqJtj, fireToken=TSGWXvLXZXf6FjVOzeiUc7R7Yrj3qHxzxlWK6nW5VdwyX/2ibIH+VkRdQmM5ScxVGk70pSZ+0PyYxQ9dc9zcSYqPQv+vDVNgQhk0J0VkYDljQvvi+X+zVdUuYI6dQjmIf19/ARXT7lQMjPM2+XyRvohnl2j4aJnU6Pi6d6UV1vLnMmMN1jt80rpwKu+0PXOt, device=95de360c-a0b9-34b0-b068-435b3a0e0a0c, follower=0, following=0) ↓↓↓↓ Exception info ↓↓↓↓ java.lang.NullPointerException: Attempt to invoke virtual method 'com.scwang.smartrefresh.layout.SmartRefreshLayout com.scwang.smartrefresh.layout.SmartRefreshLayout.finishLoadMoreWithNoMoreData()' on a null object reference at com.better.anchor.ui.fragment.home.msg.HomeMessageListFragment$3.onSuccess(HomeMessageListFragment.java:225) at cn.wildfirechat.remote.ChatManager$18.lambda$onSuccess$0(ChatManager.java:2642) at cn.wildfirechat.remote.ChatManager$18$$ExternalSyntheticLambda1.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:237) at android.app.ActivityThread.main(ActivityThread.java:8167) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)

最新回复 (1)
  • x86 1月前
    引用 2
    这是你们新加的ui层代码的空指针异常

    java.lang.NullPointerException: Attempt to invoke virtual method 'com.scwang.smartrefresh.layout.SmartRefreshLayout com.scwang.smartrefresh.layout.SmartRefreshLayout.finishLoadMoreWithNoMoreData()' on a null object reference at com.better.anchor.ui.fragment.home.msg.HomeMessageListFragment$3.onSuccess(HomeMessageListFragment.java:225) 
返回