• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Input Method Framework 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## 12800001 Package Manager Error
8
9**Error Message**
10
11Package manager error.
12
13**Description**
14
15This error code is reported when an API of the package manager, such as **getInputMethods** and **listCurrentInputMethodSubtype**, fails to be invoked to obtain information.
16
17**Possible Causes**
18
19The package manager is not working correctly.
20
21**Solution**
22
23None
24
25## 12800002 Input Method Engine Error
26
27**Error Message**
28
29Input method engine error.
30
31**Description**
32
33This error code is reported when an input method API fails to be invoked.
34
35**Possible Causes**
36
37The input method process is suspended.
38
39**Solution**
40
41Check whether the input method process is running properly. For example, click the input text box in an appliccation and check whether the input keyboard is displayed.
42
43## 12800003 Input Method Client Error
44
45**Error Message**
46
47Input method client error.
48
49**Description**
50
51This error code is reported when the API for showing or hiding the keyboard fails to be invoked by a third-party application.
52
53**Possible Causes**
54
55The input method is disconnected from the third-party application due to a service error with the application.
56
57**Solution**
58
59Bind the input method to the third-party application again: Close the background process of the third-party application, start the application again, and touch an input text box. If the keyboard is displayed properly, the issue is resolved.
60
61## 12800004 Key Event Processing Error
62
63**Error Message**
64
65Key event processing error.
66
67**Description**
68
69This error code is reported when a key event error occurs.
70
71**Possible Causes**
72
73An exception occurs during key event distribution, consumption, or listening.
74
75**Solution**
76
77None
78
79## 12800005 Configuration Persistence Error
80
81**Error Message**
82
83Configuration persisting error.
84
85**Description**
86
87This error code is reported when the configuration fails to be saved during input method switching.
88
89**Possible Causes**
90
91An exception occurs with the system parameter configuration module.
92
93**Solution**
94
95Run the **hdc shell param get persist.sys.default_ime** command to check the default input method parameters. If the parameters are displayed, the system parameter configuration module is working properly. In this case, restart the device and try again.
96
97## 12800006 Input Method Controller Error
98
99**Error Message**
100
101Input method controller error.
102
103**Description**
104
105This error code is reported when the input method controller fails to be obtained.
106
107**Possible Causes**
108
109An error occurs during invoking of the **getCotroller** API.
110
111**Solution**
112
113None
114
115## 12800007 Input Method Setter Error
116
117**Error Message**
118
119Input method settings extension error.
120
121**Description**
122
123This error code is reported when an **InputMethodSetting** instance fails to be obtained.
124
125**Possible Causes**
126
127An error occurs during invoking of the **getSetting** API.
128
129**Solution**
130
131None
132
133## 12800008 Input Method Manager Service Error
134
135**Error Message**
136
137Input method manager service error.
138
139**Description**
140
141This error code is reported when an API of the [input method framework](../apis/js-apis-inputmethod.md) fails to be invoked.
142
143**Possible Causes**
144
145The input method manager service fails to be obtained.
146
147**Solution**
148
149Run the **ps -A|grep inputmethod** command to check for the process ID of the input method service. If the process ID is found, the service is working properly.
150