harmony 鸿蒙workScheduler Error Codes
workScheduler Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
9700001 Memory Operation Failure
Error Message
Memory operation failed.
Description
This error code is reported when a memory operation fails.
Possible Causes
- A memory leak occurs.
- The system memory is insufficient.
Solution
- Release the memory.
- Check whether memory leak occurs.
9700002 Parcel Operation Failure
Error Message
Parcel operation failed.
Description
This error code is reported when parcel data fails to be read or written during IPC.
Possible Causes
An exception occurs when invoking the MessageParcel object to read or write an object.
Solution
Try again later or restart the device.
9700003 System Service Failure
Error Message
System service operation failed.
Description
This error code is reported when the client process fails to obtain the system service.
Possible Causes
- The system service is not started.
- The system service is abnormal.
Solution
Try again later or restart the device.
9700004 workInfo Verification Failure
Error Message
Check on workInfo failed.
Description
This error code is reported when the workInfo parameter is abnormal.
Possible Causes
- The value of bundleName in workInfo does not match the UID of the application.
- The Work Scheduler task to cancel or query does not exist.
Solution
Check the workInfo parameters.
9700005 startWork Call Failure
Error Message
Calling startWork failed.
Description
This error code is reported when the request for a deferred task fails.
Possible Causes
- The Work Scheduler task already exists.
- The application has already requested 10 Work Scheduler tasks.
- The repeat interval of a Work Scheduler task must be at least 20 minutes.
Solution
Check the input parameters and application code.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Background Tasks Kit
harmony 鸿蒙BackgroundProcessManager
harmony 鸿蒙TransientTask_DelaySuspendInfo
harmony 鸿蒙background_process_manager.h
harmony 鸿蒙DeviceUsageStatistics Error Codes
harmony 鸿蒙backgroundTaskManager Error Codes
harmony 鸿蒙reminderAgentManager Error Codes
harmony 鸿蒙@ohos.WorkSchedulerExtensionAbility (Deferred Task Scheduling Callbacks)
harmony 鸿蒙@ohos.resourceschedule.backgroundProcessManager (Background Child Process Management)
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦