ONIOM calculations

I have a problem in running ONIOM calculations. everytime when i submit a job it crashes after few iterations with aerror message" Error in internal coordinates" i am not able to understand what is the problem with my jobs.