Window Error Codes

NOTE

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

1300001 Repeated Operation

Error Message

Repeated operation.

Description

This error code is reported when a repeated operation is performed.

Possible Causes

The window to create already exists.

Solution

Before creating a window, check whether the window already exists. If it already exists, use it directly.

1300002 Abnormal Window State

Error Message

This window state is abnormal.

Description

This error code is reported when you operate a window in an abnormal state, for example, a window that is not created yet or has been destroyed.

Possible Causes

The window to operate is not created or has been destroyed.

Solution

Operate the window that exists.

1300003 Abnormal Window Manager Service

Error Message

This window manager service works abnormally.

Description

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

Possible Causes

The internal services of the window are not started normally.

Solution

Try again later or restart the device.

1300004 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 window object of another process is operated.

Solution

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

1300005 Abnormal Window Stage

Error Message

This window stage is abnormal.

Description

This error code is reported when you operate a window stage in the abnormal state, for example, a window stage that has been destroyed.

Possible Causes

The window stage has been destroyed when being operated.

Solution

Before operating a window stage, check whether it exists.

1300006 Abnormal Window Context

Error Message

This window context is abnormal.

Description

This error code is reported when you operate a window context in the abnormal state, for example, a window context that has been destroyed.

Possible Causes

The window context has been destroyed when being operated.

Solution

Before operating the window context, check whether it exists.

1300007 Application Startup Failure by WindowExtensionAbility

Error Message

Start ability failed.

Description

This error code is reported when a WindowExtensionAbility fails to start an application.

Possible Causes

Incorrect parameters are passed into the API used by the WindowExtensionAbility to start the application.

Solution

Pass in the correct parameters.

1300008 Display Device Exception

Error Message

The operation is on invalid display.

Description

This error code is reported when the display device is abnormal.

Possible Causes

  1. The display device is not ready.
  2. The display device is removed.
  3. The display device is damaged.

Solution

Ensure that the display device is normal.

1300009 Invalid Parent Window

Error Message

The parent window is invalid.

Description

This error code is reported when the parent window is invalid.

Possible Causes

  1. No parent window is bound.
  2. The parent window bound is abnormal. For example, the parent window has been destroyed.

Solution

  1. Ensure that the subwindow is bound to the parent window.
  2. Ensure that the status of the parent window is normal.

1300010 Invalid Operation in the Full-Screen Window

Error Message

This operation is not support in fullscreen.

Description

This error code is reported when you perform an invalid operation in the full-screen window.

Possible Causes

  1. Perform the move operation in the full-screen window.
  2. Perform the resize operation in the full-screen window.

Solution

  1. Do not move the full-screen window.
  2. Do not resize the full-screen window.

1300011 Failure in Destroying a PiP Window

Error Message

Destroy pip window failed.

Description

This error code is reported when destroying a PiP window fails.

Possible Causes

The pointer to the PiP window is null.

Solution

No action is required.

1300012 Abnormal PiP Window Status

Error Message

Abnormal state of pip window.

Description

This error code is reported when the PiP window status is abnormal.

Possible Causes

The PiP window status is abnormal.

Solution

No action is required.

1300013 Failure in Creating a PiP Window

Error Message

Create pip window failed.

Description

This error code is reported when creating a PiP window fails.

Possible Causes

  1. Incorrect parameters are passed in to create the PiP window.
  2. You attempt to start PiP in a non-full-screen window.

Solution

  1. Correct the input parameters.
  2. Do not start PiP in a non-full-screen window.

1300014 PiP Internal Error

Error Message

Pip internal error.

Description

This error code is reported when an internal error occurs in PiP.

Possible Causes

An internal error occurs.

Solution

No action is required.

1300015 Repeated PiP Operations

Error Message

Repeat operation of pip.

Description

This error code is reported when a repeated PiP operation is performed.

Possible Causes

You attempt to start PiP when it is already started or stop it when it is already stopped.

Solution

Do not start or stop PiP repeatedly.

1001 Window Null Pointer Exception(deprecated)

Error Message

This window nullptr occurs.

Description

This error code is reported when you operate a window pointed to by a null pointer.

Possible Causes

A null pointer is used.

Solution

Operate the window that exists.

1002 Invalid Window Type(deprecated)

Error Message

This window type is invalid.

Description

This error code is reported when the window type is invalid.

Possible Causes

An invalid window type is used. For details about valid window types, see WindowType.

Solution

Use a window type supported.

1003 Invalid Window Parameter(deprecated)

Error Message

This window parameter is invalid.

Description

This error code is reported when a window parameter is invalid.

Possible Causes

Invalid parameters are passed in.

Solution

Correct the parameters.

1004 Ability Service Exception(deprecated)

Error Message

This system ability service works abnormally.

Description

This error code is reported when the ability service is abnormal.

Possible Causes

When the window is destroyed, the proxy fails to be initialized.

Solution

Restart the device and try again.

1005 IPC Failure(deprecated)

Error Message

This window IPC failed.

Description

This error code is reported when IPC fails.

Possible Causes

The window parameters fail to be transferred.

Solution

Before operating a window, ensure that the client and server services in the window are normal.

1007 Application Startup Failure by WindowExtensionAbility(deprecated)

Error Message

Start ability failed.

Description

This error code is reported when a WindowExtensionAbility fails to start an application.

Possible Causes

Incorrect parameters are passed into the API used by the WindowExtensionAbility to start the application.

Solution

Pass in the correct parameters.