When does this happen? When you start Load Script execution? When the reload engine executes a specific statement (which statement)? At the end of your script when synthetic keys are being created?
Note that error messages like this point to a bug in the software. You may want to contact Qlik Support for assistance.