Print this page

Why do I receive a Generic Exception Creator error when changing the field type of a field?

Knowledge Article Number 000004464
Description

When changing the type of a field the following error can occur:

Validation Errors While Saving Record(s)
There were custom validation error(s) encountered while saving the affected record(s). The first validation error encountered was "Generic Exception Creator".

Resolution

This is caused as the field being changed is referenced in an Apex class. The workaround for this issue is to comment out the area of code where this field is referenced, change the type of the field and then uncomment the code again.

For more information on how to update the apex code please refer to the Force.com Apex Code Developer's Guide: http://www.salesforce.com/us/developer/docs/apexcode/salesforce_apex_language_reference.pdf





promote demote