• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Window Error Codes
2
3> **NOTE**
4>
5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](errorcode-universal.md).
6
7## 1300001 Repeated Operation
8**Error Message**
9
10Repeated operation.
11
12**Description**
13
14This error code is reported when a repeated operation is performed.
15
16**Possible Causes**
17
18The window to create already exists.
19
20**Solution**
21
22Before creating a window, check whether the window already exists. If it already exists, use it directly.
23
24## 1300002 Abnormal Window State
25**Error Message**
26
27This window state is abnormal.
28
29**Description**
30
31This error code is reported when you operate a window in an abnormal state, for example, a window that has been destroyed.
32
33**Possible Causes**
34
35The window has been destroyed when being operated.
36
37**Solution**
38
39Before operating the window, check whether it exists.
40
41## 1300003 Abnormal Window Manager Service
42**Error Message**
43
44This window manager service works abnormally.
45
46**Description**
47
48This error code is reported when the window manager service is abnormal.
49
50**Possible Causes**
51
52The internal services of the window are not started normally.
53
54**Solution**
55
56Try again later or restart the device.
57
58## 1300004 Unauthorized Operation
59**Error Message**
60
61Unauthorized operation.
62
63**Description**
64
65This error code is reported when the API does not have the required permissions to operate an object.
66
67**Possible Causes**
68
69The window object of another process is operated.
70
71**Solution**
72
73Check whether unauthorized operations are performed on the object of another process. If yes, delete the operations.
74
75## 1300005 Abnormal Window Stage
76**Error Message**
77
78This window stage is abnormal.
79
80**Description**
81
82This error code is reported when you operate a window stage in the abnormal state, for example, a window stage that has been destroyed.
83
84**Possible Causes**
85
86The window stage has been destroyed when being operated.
87
88**Procedure**
89
90Before operating a window stage, check whether it exists.
91
92## 1300006 Abnormal Window Context
93**Error Message**
94
95This window context is abnormal.
96
97**Description**
98
99This error code is reported when you operate a window context in the abnormal state, for example, a window context that has been destroyed.
100
101**Possible Causes**
102
103The window context has been destroyed when being operated.
104
105**Solution**
106Before operating the window context, check whether it exists.