HarmonyOS 鸿蒙Next BATE 3 执行 Uint8Array.of() 函数报错
HarmonyOS 鸿蒙Next BATE 3 执行 Uint8Array.of() 函数报错
Fault thread info:
Tid:14387, Name:penharmony.smb2
#00 pc 00000000002597b0 /system/lib64/module/arkcompiler/stub.an(BuiltinStub_TypedArrayOf+2004)
#01 at func_main_0 (:1:1)
#02 pc 0000000000322d58 /system/lib64/platformsdk/libark_jsruntime.so(panda::ecmascript::InterpreterAssembly::Execute(panda::ecmascript::EcmaRuntimeCallInfo*)+280)(0673e7baaa7a5e7d1c0bb4c382e547f4)
#03 pc 00000000004e3c04 /system/lib64/platformsdk/libark_jsruntime.so(panda::FunctionRef::Call(panda::ecmascript::EcmaVM const*, panda::Local<panda::JSValueRef>, panda::Local<panda::JSValueRef> const*, int)+324)(0673e7baaa7a5e7d1c0bb4c382e547f4)
#04 pc 00000000005eeca4 /system/lib64/platformsdk/libark_jsruntime.so(panda::ecmascript::tooling::DebuggerApi::EvaluateViaFuncCall(panda::ecmascript::EcmaVM*, panda::Local<panda::FunctionRef>, std::__h::shared_ptr<panda::ecmascript::FrameHandler>&)+284)(0673e7baaa7a5e7d1c0bb4c382e547f4)
#05 pc 00000000000547fc /system/lib64/libark_ecma_debugger.so(panda::ecmascript::tooling::DebuggerImpl::EvaluateOnCallFrame(panda::ecmascript::tooling::EvaluateOnCallFrameParams const&, std::__h::unique_ptr<panda::ecmascript::tooling::RemoteObject, std::__h::default_delete<panda::ecmascript::tooling::RemoteObject>>)+480)(2005bd437c45a0537a820aa5fea19672)
#06 pc 0000000000052270 /system/lib64/libark_ecma_debugger.so(panda::ecmascript::tooling::DebuggerImpl::DispatcherImpl::EvaluateOnCallFrame(panda::ecmascript::tooling::DispatchRequest const&)+92)(2005bd437c45a0537a820aa5fea19672)
#07 pc 000000000005133c /system/lib64/libark_ecma_debugger.so(panda::ecmascript::tooling::DebuggerImpl::DispatcherImpl::Dispatch(panda::ecmascript::tooling::DispatchRequest const&)+376)(2005bd437c45a0537a820aa5fea19672)
#08 pc 000000000008cf44 /system/lib64/libark_ecma_debugger.so(panda::ecmascript::tooling::ProtocolHandler::ProcessCommand()+508)(2005bd437c45a0537a820aa5fea19672)
#09 pc 00000000000507f4 /system/lib64/libark_ecma_debugger.so(2005bd437c45a0537a820aa5fea19672)
#10 pc 0000000000050084 /system/lib64/libark_ecma_debugger.so(panda::ecmascript::tooling::DebuggerImpl::NotifyPaused(std::__h::optional<panda::ecmascript::tooling::JSPtLocation>, panda::ecmascript::tooling::PauseReason)+1436)(2005bd437c45a0537a820aa5fea19672)
#11 pc 000000000006f0b4 /system/lib64/libark_ecma_debugger.so(panda::ecmascript::tooling::JSPtHooks::Breakpoint(panda::ecmascript::tooling::JSPtLocation const&)+224)(2005bd437c45a0537a820aa5fea19672)
#12 pc 00000000005f4c0c /system/lib64/platformsdk/libark_jsruntime.so(panda::ecmascript::tooling::JSDebugger::HandleBreakpoint(panda::ecmascript::JSHandle<panda::ecmascript::Method>, unsigned int)+1364)(0673e7baaa7a5e7d1c0bb4c382e547f4)
#13 pc 000000000035b334 /system/lib64/platformsdk/libark_jsruntime.so(panda::ecmascript::tooling::NotificationManager::BytecodePcChangedEvent(panda::ecmascript::JSThread, panda::ecmascript::Method*, unsigned int) const+132)(0673e7baaa7a5e7d1c0bb4c382e547f4)
#14 pc 00000000005b5808 /system/lib64/platformsdk/libark_jsruntime.so(panda::ecmascript::RuntimeStubs::NotifyBytecodePcChanged(unsigned long, unsigned int, unsigned long)+224)(0673e7baaa7a5e7d1c0bb4c382e547f4)
#15 pc 0000000000313e40 /system/lib64/module/arkcompiler/stub.an(RTStub_CallRuntime+40)
关于HarmonyOS 鸿蒙Next BATE 3 执行 Uint8Array.of() 函数报错的问题,您也可以访问:https://www.itying.com/category-93-b0.html 联系官网客服。
找HarmonyOS工作还需要会Flutter的哦,有需要Flutter教程的可以学学大地老师的教程,很不错,B站免费学的哦:https://www.bilibili.com/video/BV1S4411E7LY/?p=17
报的啥 空指针了?