harmony 鸿蒙Display Error Codes

  • 2022-11-09
  • 浏览 (446)

Display Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

1400001 Invalid Display or Screen

Error Message

Invalid display or screen.

Description

This error code is reported when an invalid display, including a virtual screen, is operated.

Possible Causes 1. The virtual screen has not been created. 2. The virtual screen has been destroyed.

Solution

  1. Before operating the virtual screen, check whether the virtual screen has been created.
  2. Check whether the virtual screen has been destroyed.

1400002 Unauthorized Operation

Error Message

Unauthorized operation.

Description

This error code is reported when the API does not have the required permissions to operate an object.

Possible Causes

The virtual screen object of another process is operated.

Solution

Check whether unauthorized operations are performed on the object of another process. If yes, delete the operations.

1400003 Abnormal Display Manager Service

Error Message

This display manager service works abnormally.

Description

This error code is reported when the display manager service is abnormal.

Possible Causes

  1. The display manager service is not started normally.
  2. The bottom-layer graphics synthesis and rendering are abnormal.

Solution

Try again later or restart the device.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Error Codes

harmony 鸿蒙Event Error Codes

harmony 鸿蒙DeviceUsageStatistics Error Codes

harmony 鸿蒙DistributedNotificationService Error Codes

harmony 鸿蒙Distributed Scheduler Error Codes

harmony 鸿蒙Ability Error Codes

harmony 鸿蒙Access Control Error Codes

harmony 鸿蒙Accessibility Error Codes

harmony 鸿蒙Account Management Error Codes

harmony 鸿蒙Animator Error Codes

0  赞