In which situation does this happen? Could you provide a better exception message to show what is wrong?