Platform Package reference: Error and Warning Codes

If an error or warning is detected during the runtime of your GUI application, the error (or warning) code and eventually additional information (known as info, info1 and info2) are output on the debug console of your target device. The following sections provide detailed description of all codes together with few hints to help you to localize and fix the cause of the problem.

Please don't worry about the amount of different error and warning codes addressing the same error case. We use the different codes to distinguish the different locations within the code where the errors can occur. Knowing the error number we can analyze the cause of the error. In case you have the source code of the Run Time Environment and Graphics Engine (available in Professional license of the Platform Package) you can also search in the source code for the given error code number.

1, 2, 3, 4, 5, 6, 7, 8, 9

Out of memory.

10, 11, 12, 13, 14, 15, 16, 17, 18, 19

Out of memory.

20, 21, 22, 23, 24, 25, 26, 27, 28, 29

Out of memory.

30, 31, 32, 33, 34, 35, 37, 38, 39

Out of memory.

40, 41, 42, 43, 44, 45, 46, 47

Out of memory.

101

Failed to initialize the graphics subsystem in the target device.

102, 103, 104

Failed to load the global CLUT (color look up table).

105

Failed to initialize the Graphics Engine core functionality.

106

Failed to initialize the bitmap resource loader.

107

Failed to initialize the font resource loader.

108, 109

Failed to initialize the Attributed Text sub-system.

110

Failed to initialize the graphics tasks sub-system.

111, 115

Failed to create surface with format EW_PIXEL_FORMAT_NATIVE, width=info1, height=info2.

112, 116

Failed to create surface with format EW_PIXEL_FORMAT_ALPHA8, width=info1, height=info2.

113, 117

Failed to create surface with format EW_PIXEL_FORMAT_INDEX8, width=info1, height=info2.

114, 118

Failed to create surface with format EW_PIXEL_FORMAT_RGB565, width=info1, height=info2.

119

Failed to create constant surface with format EW_PIXEL_FORMAT_NATIVE, width=info1, height=info2.

120

Failed to create constant surface with format EW_PIXEL_FORMAT_ALPHA8, width=info1, height=info2.

121

Failed to create constant surface with format EW_PIXEL_FORMAT_INDEX8, width=info1, height=info2.

122

Failed to create constant surface with format EW_PIXEL_FORMAT_RGB565, width=info1, height=info2.

123

Can't create a bitmap with format EW_PIXEL_FORMAT_SCREEN.

124, 125, 126, 127, 128, 129, 130, 131

Failed to initialize new issue for destination bitmap info1.

132, 133, 134, 135

Failed to load bitmap resource info1.

136, 137, 138, 139, 140

Failed to lock the surface info1 for direct memory access.

141

Failed to obtain the pixel data of a bitmap resource info1.

142

Failed to load the CLUT of the bitmap resource info1.

143

Invalid parameters to lock bitmap info1, frame number info2.

144, 145

Invalid parameters to modify the palette of the bitmap info1.

146, 147

Failed to load font resource info1.

148

The glyph cache is too small to load the glyph info2 from the font resource info1. Please increase the glyph cache size.

149

Invalid parameters to create viewport.

150

Failed to create viewport.

151, 152, 153

Invalid viewport info1 to perform screen update.

154, 155

Failed to start the update of the viewport info1.

156, 157, 158, 159

Invalid destination bitmap info1, frame number info2 in the drawing operation.

160, 161, 162

Invalid destination bitmap info1, frame number info2 in the copy bitmap operation.

163, 164, 165

Invalid source bitmap info1, frame number info2 in the copy bitmap operation.

166

Not convex destination polygon to warp bitmap.

167

Invalid destination bitmap info1, frame number info2 in the text output operation.

168

Invalid font info1 in the text output operation.

169, 170, 171, 172

Invalid font info1 in text extent calculation.

173

Invalid parameters to get glyph metrics.

174

Invalid parameters to lock glyph.

175

Invalid parameters to get kerning information.

176

No free global CLUT entries to alloc user color.

177

Invalid global CLUT entry info1 to free user color.

178

Invalid global CLUT entry info1 to modify user color.

179

Invalid size (width=info1, height=info2) of bitmap to create.

180

Failed to get metrics for glyph info2 from the font info1.

181, 182

Failed to create glyph info2 from the font info1.

183, 184, 185

Failed to load glyph info2 from the font info1.

186

Incomplete interface to the underlying graphical subsystem. Missing the implementation of the EwGfxBeginUpdateArea() function.

187, 188

The 'IssueBuffer' for destination bitmap info1 is too small for polygon data with info2 edges. Adjust in your project the macro definition EW_MAX_ISSUE_TASKS and rebuild the entire application. You can also reduce the number of edges stored in the path.

189

EwWarpBitmap() operation has been omitted because of the resulting destination area being wider or higher than 4096 pixel. Trying to warp bitmap for such big area will lead to integer arithmetic overflows.

190

To use EwEnableGfxTaskTracing() you have to rebuild Graphics Engine with the define EW_SUPPORT_GFX_TASK_TRACING. Otherwise the function has no effect.

191, 192, 193, 194, 195

The support for operations to fill and stroke paths is not available because the Graphics Engine is compiled with the defined macro EW_DONT_USE_PATH_FUNCTIONS.

196

The support for operations to scale, rotate or warp bitmaps is not available because the Graphics Engine is compiled with the defined macro EW_DONT_USE_WARP_FUNCTIONS.

197, 198

The support for operations involving EW_PIXEL_FORMAT_INDEX8 bitmaps is not available because the Graphics Engine is compiled with the defined macro EW_DONT_USE_INDEX8_SURFACES.

199, 200

The support for operations involving EW_PIXEL_FORMAT_RGB565 bitmaps is not available because the Graphics Engine is compiled with the defined macro EW_DONT_USE_RGB565_SURFACES.

201

No font (NULL) in text extent calculation.

202

The support for bi-directional text is not available because the Graphics Engine is compiled with the defined macro EW_DONT_USE_BIDI_FUNCTIONS.

203

Incomplete interface to the underlying graphical subsystem. Missing the implementation of the EwGfxCreateConstNativeSurface() function. This error can occur when your Embedded Wizard project is configured to generate bitmap resources in the DirectAccess format. Please verify the attribute ModeOfBitmapResources in your Embedded Wizard project. You can also try to clean/rebuild your project.

204

Incomplete interface to the underlying graphical subsystem. Missing the implementation of the EwGfxCreateConstAlpha8Surface() function. This error can occur when your Embedded Wizard project is configured to generate bitmap resources in the DirectAccess format. Please verify the attribute ModeOfBitmapResources in your Embedded Wizard project. You can also try to clean/rebuild your project.

205

Incomplete interface to the underlying graphical subsystem. Missing the implementation of the EwGfxCreateConstIndex8Surface() function. This error can occur when your Embedded Wizard project is configured to generate bitmap resources in the DirectAccess format. Please verify the attribute ModeOfBitmapResources in your Embedded Wizard project. You can also try to clean/rebuild your project.

206

Incomplete interface to the underlying graphical subsystem. Missing the implementation of the EwGfxCreateConstRGB565Surface() function. This error can occur when your Embedded Wizard project is configured to generate bitmap resources in the DirectAccess format. Please verify the attribute ModeOfBitmapResources in your Embedded Wizard project. You can also try to clean/rebuild your project.

207, 208

Trying to open an invalid font resource info1.

209

The font info is not available. Ensure, that the font is installed and registered properly. On the target system use the function EwRegisterFont(). For prototyping, install the font file in the Windows font directory.

210, 217, 223, 227, 232, 239

Wrong Bitmap Loader and Software Pixel Driver combination. The color formats differ.

211, 212, 218, 219, 228, 229, 233, 234, 240, 241

The bitmap resource info has not the expected format. Please verify the attribute PlatformPackage in your Embedded Wizard project. It should correspond to the color format of your target system. You can also try to clean/rebuild your project.

213, 220, 230, 235, 242

The rotation of the bitmap resource info doesn't correspond to the configuration the Graphics Engine has been built for. Please verify whether the attribute ScreenOrientation in your Embedded Wizard project does correctly conform the value of the define EW_SURFACE_ROTATION used during the build process (e.g. within your MAKE file, etc.). You can also try to clean/rebuild your project.

214, 215, 221, 222, 236, 237, 243, 244

The bitmap resource info is stored with wrong color format. Please verify whether the attributes ColorPremultipliedAlpha and ColorChannelsOrder in your Embedded Wizard project do correctly conform the values of the defines EW_COLOR_CHANNEL_BIT_OFFSET_RED, EW_COLOR_CHANNEL_BIT_OFFSET_GREEN, EW_COLOR_CHANNEL_BIT_OFFSET_BLUE, EW_COLOR_CHANNEL_BIT_OFFSET_ALPHA and EW_PREMULTIPLY_COLOR_CHANNELS used during the build process (e.g. within your MAKE file, etc.). You can also try to clean/rebuild your project.

216, 231, 238, 245

The RGB565 bitmap resource info is stored with wrong color format. Please verify whether the attribute ColorChannelsOrderOfRGB565 in your Embedded Wizard project does correspond to the values of the defines EW_RGB565_COLOR_CHANNEL_BIT_OFFSET_RED, EW_RGB565_COLOR_CHANNEL_BIT_OFFSET_GREEN and EW_RGB565_COLOR_CHANNEL_BIT_OFFSET_BLUE used during the build process (e.g. within your MAKE file, etc.). You can also try to clean/rebuild your project.

224, 225

The bitmap resource info has not the expected format. Please verify the attribute PlatformPackage in your Embedded Wizard project. It should correspond to the color format of your target system. You can also try to clean/rebuild your project.

226

The rotation of the bitmap resource info doesn't correspond to the configuration the Graphics Engine has been built for. Please verify whether the attribute ScreenOrientation in your Embedded Wizard project does correctly conform the value of the define EW_SURFACE_ROTATION used during the build process (e.g. within your MAKE file, etc.). You can also try to clean/rebuild your project.

246, 250

Wrong Bitmap Loader and Software Pixel Driver combination. Color format differ.

247, 248, 251, 252

The image file info is not available or the format of the image file is not supported by the extern loader. Ensure, that a valid file is available on the target system.

249, 253

Trying to load an invalid bitmap resource info1.

254, 255, 256, 257, 258, 259, 260, 261

Wrong Viewport Interface and Pixel Driver combination.

301

Timer info1 not in the timers list.

302

String index out of the string length.

303

Trying to modify a constant string.

304, 305, 306

Trying to release a string with usage counter 0.

307

Maximum value for a string usage counter (65535) reached.

308

postsignal is failed. The signal is just delivered.

309, 310

No class (NULL).

311

Object info1 is not in the root set.

312

The specified class parameter to create a new instance is not a valid class.

313

Recursive access to an autoobject info1 performing the initialization.

314

Trying to use the function EwSetStackBaseAddress() with Runtime Environment not configured to run Immediate Garbage Collection. Operation is ignored.

315

No CPU stack information available to start the Immediate Garbage Collection. Please call the function EwSetStackBaseAddress() at the initialization time of the application to provide to the Runtime Environment the base address of the CPU stack. Immediate Garbage Collection is not started.

316

New Garbage Collection started while the actual Garbage Collection is not yet finished. Recursive Garbage Collections are not permitted. Operation is ignored.

317

Try to use the function EwModifyBitmapPalette() to modify the palette of loaded originally from a resource. Such bitmaps and their associated palettes are considered as immutable. Operation is ignored. info1 contains the address of the respective bitmap.

319, 320, 321

Failed to map the frame with number info2 of the bitmap info1.

322

Trying to use EwAllocHeapBlock() without initializing the Heap Manager. Use EwInitHeap() and EwAddHeapMemoryPool() first.

323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333

Trying to use EwFreeHeapBlock() with an invalid memory block address or the internal heap management structures are corrupted. In the last case you can use the function EwVerifyHeap() to check the heap for its coherence.

334

The memory area specified in the function call EwAddHeapMemoryPool() is too small to be added to the memory pool of the Heap Manager. The operation is ignored.

335

The function EwVerifyHeap() has detected an incoherence in internal Heap Management structures. info1 specifies the address of the affected memory area within the memory pool (see function EwAddHeapMemoryPool()). info2 specifies the number of the failed coherence test.

341, 342, 343, 344, 345, 346, 347, 348

Trying to perform a drawing operation within a bitmap loaded originally from a resource. Such bitmaps are considered as immutable. Operation is ignored. info1 contains the address of the respective bitmap. info2 contains the specified frame number.