Error messages

Lets say, we have this error messages when we want to export table into Excel file:

Error executing code: DictEnum object not initialized.

Stack trace: \Classes\DictEnum\label \Classes\SysExcelTemplateWizard\formatCell - line 24 \Classes\SysExcelTemplateWizard\formatType - line 21 \Classes\SysExcelTemplateWizard\formatColumns - line 37 \Classes\SysExcelTemplateWizard\createTemplate - line 17 \Classes\SysExcelTemplateWizard\run - line 21 \Classes\SysExcelTemplateWizard\main - line 11

The solution is :

1. Debug class named SysExcelTemplateWizard. It seem 'label' variable not filled with proper value. In method formatCell - line 24, error started:

label = new DictEnum(_tmpExcelField.methodEnumId).label;

2. Check field of the table that use Enums.

3. Check that Enums, make sure Enum label filled with proper value.

4. Synchronize database. 5. Reexport table into Excel file.

Hope its works....