云商大本营
云商大本营
  • 发布:2021-12-21 14:34
  • 更新:2021-12-21 15:05
  • 阅读:562

【报Bug】com.taobao.weex.WXSDKInstance.getImgLoaderAdapter() on a null object reference

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: 12.0.1

HBuilderX类型: 正式

HBuilderX版本号: 3.2.16

手机系统: Android

手机系统版本号: Android 10

手机厂商: OPPO

手机机型: PDVM00

页面类型: vue

vue版本: vue2

打包方式: 离线

项目创建方式: HBuilderX

示例代码:

2021/12/20 00:10:56 [crash] imei:DCF36DE47BA5E9E7AD8912916BD11FEB md:PDVM00 p:a os:29 net:3 vb:1.9.9.81128 mc: appid:UNIB830AC1 appcount:1 wvcount:-2 pn:com.ola100.app mem:8660kb etype:1 eurl: carsh_info:java.lang.NullPointerException: Attempt to invoke virtual method 'com.taobao.weex.adapter.IWXImgLoaderAdapter com.taobao.weex.WXSDKInstance.getImgLoaderAdapter()' on a null object reference
at com.taobao.weex.ui.component.WXImage.autoReleaseImage(WXImage.java:321)
at com.taobao.weex.ui.view.WXImageView.autoReleaseImage(WXImageView.java:241)
at com.taobao.weex.ui.view.WXImageView.onWindowVisibilityChanged(WXImageView.java:196)
at android.view.View.dispatchWindowVisibilityChanged(View.java:14493)
at com.taobao.weex.ui.view.WXImageView.dispatchWindowVisibilityChanged(WXImageView.java:185)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1579)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1579)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1579)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1579)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1579)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1579)
at android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:1579)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2349)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2022)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8339)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1106)
at android.view.Choreographer.doCallbacks(Choreographer.java:929)
at android.view.Choreographer.doFrame(Choreographer.java:855)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1091)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:238)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:512)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:986)

操作步骤:

不知道什么情况下触发的,是看的uniapp的崩溃日志

预期结果:

正常

实际结果:

崩溃

bug描述:

最近看崩溃日志,每天有几十个因为图片引起的,不知道是什么问题

2021-12-21 14:34 负责人:DCloud_Android_ST 分享
已邀请:
DCloud_Android_ST

DCloud_Android_ST

根据崩溃日志已在 3.3.1 alpha 已修复 可以等待转正式版后同步

该问题目前已经被锁定, 无法添加新回复