HarmonyOS 如何解读Null Pointer dereference闪退类型,是否有最佳实践例子?

如何解读Null Pointer dereference闪退类型,是否有最佳实践例子?

相关闪退日志:

#00 pc 0000000000005990 /system/lib64/module/arkcompiler/stub.an(BCStub_HandleIstrue+32)
#01 at getLog (xxx|@xxx/msc|1.42.62|src/main/ets/utils/logger/Logger.ts:54:54)
#02 at outLog (xxx|@xxx/msc|1.42.62|src/main/ets/utils/logger/Logger.ts:64:64)
#03 at mscLogErrorWithTag (xxx|@xxx/msc|1.42.62|src/main/ets/utils/logger/Logger.ts:38:38)
#04 at getTopPageContainerVM (xxx|@xxx/msc|1.42.62|src/main/ets/modules/pageManager/PageManager.ts:85:85)
#05 at getRouterContext (xxx|@xxx/msc|1.42.62|src/main/ets/modules/pageManager/PageManager.ts:354:354)
#06 at getRouterContext (xxx|@xxx/msc|1.42.62|src/main/ets/interface/IPageManager.ts:128:128)
#07 at getRouterContext (xxx|@xxx/msc|1.42.62|src/main/ets/modules/msi/provider/ContentProvider.ts:332:332)
#08 at getPageInfo (xxx|@xxx/msc|1.42.62|src/main/ets/modules/msi/provider/ContentProvider.ts:271:271)
#09 at anonymous (xxx|@xxx/msc|1.42.62|src/main/ets/modules/msi/provider/ContentProvider.ts:254:254)
#10 at anonymous (xxx|@msi/runtime|1.2.2|src/main/ets/util/common/index.ts:60:60)
#11 at anonymous (xxx|@msi/runtime|1.2.2|src/main/ets/reporter/ApiLog.ts:158:158)
#12 at anonymous (xxx|@msi/runtime|1.2.2|src/main/ets/reporter/ApiLog.ts:32:32)
#13 at generateMetricsParams (xxx|@msi/runtime|1.2.2|src/main/ets/middleware/Logger.ts:22:22)
#14 at run (xxx|@msi/runtime|1.2.2|src/main/ets/middleware/Logger.ts:35:35)
#15 at anonymous (xxx|@msi/runtime|1.2.2|src/main/ets/manager/MiddlewareManager.ts:82:82)
#16 at n1124 (xxx|@msi/runtime|1.2.2|src/main/ets/manager/MiddlewareManager.ts:42:1)
#17 at i1124 (xxx|@msi/runtime|1.2.2|src/main/ets/manager/MiddlewareManager.ts:45:45)
#18 at runSync (xxx|@msi/runtime|1.2.2|src/main/ets/manager/MiddlewareManager.ts:90:90)
#19 at invoke (xxx|@msi/runtime|1.2.2|src/main/ets/ApiPortal.ts:203:1)
#20 at syncInvoke (xxx|@xxx/msc|1.42.62|src/main/ets/modules/msi/executor/MSIAPIExecutor.ts:19:19)
#21 at syncInvoke (xxx|@xxx/msc|1.42.62|src/main/ets/modules/msi/MSIApiPortalManager.ts:33:33)
#22 at syncInvoke (xxx|@xxx/msc|1.42.62|src/main/ets/modules/msi/MSIManagerImpl.ts:22:22)
#23 at onRequest (xxx|@xxx/msc|1.42.62|src/main/ets/interface/IMSIManager.ts:223:223)
#24 at onAcceptMessage (xxx|@xxx/msc|1.42.62|src/main/ets/moduleManager/ModuleManager.ts:56:56)
#25 at onAcceptRequest (xxx|@xxx/msc|1.42.62|src/main/ets/moduleManager/Channel.ts:117:117)
#26 at onRequest (xxx|@xxx/msc|1.42.62|src/main/ets/moduleManager/Channel.ts:102:102)
#27 at anonymous (xxx|@xxx/msc|1.42.62|src/main/ets/moduleManager/Channel.ts:142:142)
HarmonyOS
1天前
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
Excelsior_abit
分享
微博
QQ
微信
回复
1天前
相关问题
网络监听的最佳实践哪些?
484浏览 • 1回复 待解决
HarmonyOS jsBridge 最佳实践
313浏览 • 1回复 待解决
HarmonyOS应用退问题
736浏览 • 1回复 待解决
HarmonyOS 事件传递最佳实践咨询
68浏览 • 1回复 待解决
HarmonyOS 应用开发ArkUI布局最佳实践
42浏览 • 1回复 待解决
退和报错日记获取了解的吗?
2782浏览 • 1回复 待解决
HarmonyOS number toFixed方法退
42浏览 • 1回复 待解决
HarmonyOS 使用Webview会退
21浏览 • 1回复 待解决
web写入customUseragent最佳实践
273浏览 • 1回复 待解决
HarmonyOS 沉浸式状态栏最佳实践
313浏览 • 1回复 待解决
应用内整体换肤的最佳实践
517浏览 • 1回复 待解决
视频和直播播放HarmonyOS最佳实践
842浏览 • 1回复 待解决
输出静态库的最佳实践
262浏览 • 1回复 待解决
HarmonyOS 关于音频播放器的最佳实践
36浏览 • 1回复 待解决
HarmonyOS 申请短时后台任务退
41浏览 • 1回复 待解决
HarmonyOS 页面返回时应用退报错
631浏览 • 1回复 待解决
HarmonyOS 是否rsa加解密的例子
45浏览 • 1回复 待解决
加载FFMpeg后APP出现退
213浏览 • 1回复 待解决
HarmonyOS 单列和瀑布流的最佳实践
281浏览 • 1回复 待解决