可能是在Nvue页面里面,有一些弹出框以及监听
根据崩溃日志中获取的信息是,
主要是这两个错误,频率挺高的,怎么解?
carsh_info:java.lang.NullPointerException: Attempt to invoke virtual method 'void com.taobao.weex.WXSDKInstance.removeFrameViewEventListener(com.taobao.weex.WXSDKInstance$FrameViewEventListener)' on a null object reference
at com.taobao.weex.ui.component.DCWXInput$8.onShowAnimationEnd(DCWXInput.java:696)
at com.taobao.weex.WXSDKInstance.onShowAnimationEnd(WXSDKInstance.java:2445)
at io.dcloud.feature.weex.WXViewWrapper.onCallBack(WXViewWrapper.java:743)
at io.dcloud.common.adapter.ui.AdaFrameView.dispatchFrameViewEvents(SourceFile:9)
at io.dcloud.common.core.ui.b.n(SourceFile:7)
at io.dcloud.common.core.ui.b$a.a(SourceFile:37)
at io.dcloud.common.core.ui.b$a.a(SourceFile:1)
at io.dcloud.common.core.ui.b$a$a.run(SourceFile:2)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7838)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)
carsh_info:java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
at android.view.ViewGroup.addViewInner(ViewGroup.java:5262)
at android.view.ViewGroup.addView(ViewGroup.java:5091)
at android.view.ViewGroup.addView(ViewGroup.java:5028)
at android.view.ViewGroup.addView(ViewGroup.java:5000)
at io.dcloud.feature.uniapp.ui.component.AbsVContainer.addSubView(AbsVContainer.java:308)
at com.taobao.weex.ui.action.GraphicActionMoveElement.executeAction(GraphicActionMoveElement.java:67)
at com.taobao.weex.ui.action.BasicGraphicAction.run(BasicGraphicAction.java:70)
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:7876)
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)
TTOOMM (作者)
感谢
2021-09-01 20:49