An error occurred during an attempt to retrieve the length for the specified user-defined type.
Make sure that the length of the user-defined type is correctly stored in the sysxtdtypes system catalog table.