I suspect this is a profile module bug. I quickly tried to duplicate the error you describe but everything worked ok although I didn't have the Profile module enabled.
Can you give us the "exact" error that happened - include the actual error message. The error message will usually give a file name and line number which helps us narrow down the problem more easily.