IT技术部
IT技术部
  • 发布:2023-04-20 15:06
  • 更新:2023-04-20 17:35
  • 阅读:310

app-nvue 使用一段时间容易发生崩溃 收集到一些底层日志前来请教

分类:uni-app

BOARD:ginkgo
BOOTLOADER:unknown
BRAND:xiaomi
BUILDDATE:Mon Aug 1 19:18:47 CST 2022
CPU_ABI:arm64-v8a
CPU_ABI2:
CUSTOM_INTERNAL:unknown
CUSTOM_NAME:unknown
DEVICE:ginkgo
DISPLAY:RKQ1.201004.002 test-keys
DISPLAY_HARDWARE:unknown
EXTERNAL:unknown
FINGERPRINT:xiaomi/ginkgo/ginkgo:11/RKQ1.201004.002/V12.5.5.0.RCOCNXM:user/release-keys
HARDWARE:qcom
HOST:m1-xm-ota-bd104.bj.idc.xiaomi.com
ID:RKQ1.201004.002
IDEAFRIEND_NEED:unknown
INTERNAL:unknown
IS_DEBUGGABLE:false
IS_EMULATOR:false
LCT_ACCELERATOR_BRAND:unknown
LCT_AUTOREGISTER_NAME:unknown
LCT_BLUETOOTH_BRAND:unknown
LCT_BSP_VERSION:0.0.1_190429
LCT_BUILD_TYPE:unknown
LCT_DEVICE_BLACK_UI:unknown
LCT_DEVICE_NAME:unknown
LCT_EXTSTORAGE_TYPE:unknown
LCT_HARDWARE_PLATFORM:unknown
LCT_NETWORK_TYPE:unknown
LCT_OPERATOR_NAME:unknown
LCT_PHONENUMBER_MINMATCH:unknown
LCT_PROJECT_NAME:ginkgo
LCT_SINGALCARD_DULEMODE:unknown
LCT_WATER_MARK:unknown
LCT_WIFI_BRAND:unknown
LQI_PRODUCT_DEVICE:unknown
MANUFACTURER:Xiaomi
MODEL:Redmi Note 8
PERMISSIONS_REVIEW_REQUIRED:true
PRODUCT:ginkgo
RADIO:unknown
SERIAL:unknown
SUPPORTED_32_BIT_ABIS:[Ljava.lang.String;@a0a338f
SUPPORTED_64_BIT_ABIS:[Ljava.lang.String;@1a7b61c
SUPPORTED_ABIS:[Ljava.lang.String;@38d4225
TAGS:release-keys
TIME:1659352727000
TYPE:user
UNKNOWN:unknown
USER:builder
VERSION_TYPE:unknown
java.lang.IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling com.taobao.weex.ui.view.listview.WXRecyclerView{aefeef9 VFED..... .......D 0,0-1080,2296}, adapter:com.taobao.weex.ui.view.listview.adapter.RecyclerViewBaseAdapter@8ece3e, layout:com.taobao.weex.ui.view.listview.WXRecyclerView$5@198e49f, context:io.dcloud.PandoraEntryActivity@30bfc1d
at androidx.recyclerview.widget.RecyclerView.assertNotInLayoutOrScroll(RecyclerView.java:2880)
at androidx.recyclerview.widget.RecyclerView$RecyclerViewDataObserver.onChanged(RecyclerView.java:5281)
at androidx.recyclerview.widget.RecyclerView$AdapterDataObservable.notifyChanged(RecyclerView.java:11997)
at androidx.recyclerview.widget.RecyclerView$Adapter.notifyDataSetChanged(RecyclerView.java:7070)
at com.taobao.weex.ui.view.refresh.wrapper.BounceRecyclerView.onRefreshingComplete(BounceRecyclerView.java:138)
at com.taobao.weex.ui.component.WXRefresh.setDisplay(WXRefresh.java:113)
at com.taobao.weex.ui.component.WXRefresh.setProperty(WXRefresh.java:100)
at com.taobao.weex.ui.component.WXComponent.updateProperties(WXComponent.java:790)
at com.taobao.weex.ui.component.WXComponent.updateAttrs(WXComponent.java:300)
at com.taobao.weex.ui.action.GraphicActionUpdateAttr.executeAction(GraphicActionUpdateAttr.java:51)
at com.taobao.weex.ui.action.BasicGraphicAction.run(BasicGraphicAction.java:71)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:236)
at android.app.ActivityThread.main(ActivityThread.java:8057)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)

日志如上述:
设备为 红米note8

场景:
用setSpecialEffects(object)实现的li嵌套list父容器支持swiper-list吸顶滚动效果

2023-04-20 15:06 负责人:无 分享
已邀请:
DCloud_Android_ST

DCloud_Android_ST

你是否可以复现 目前看是刷新时有新元素补充到list导致异常。建议list 填充新信息后再设置refresh的Display属性

  • IT技术部 (作者)

    这种情况是偶发的 但是根据用户反馈 发生的概率还是很高的。

    我这边的大概复现场景就是 从a页面转到b页面的时候 (b页面为使用setSpecialEffects(objec)的页面)当页面渲染的很慢的时候 去上划或者下滑的时候 会导致这种情况。

    您这边的意思 父list 触发刷新的时候还未结束的时候 子list里有新的元素加进去了吗 或者 父列表有新的元素加进去 会导致这种情况是吗?

    这种问题官方可以从底层限制一下吗?

    2023-04-20 20:45

要回复问题请先登录注册