Solved!
I deleted the user from the joomla user manager so there was an entry in the comprofiler table that was causing the problem.
So... always delete users from the cb user manager!
I edited the post myself since I could not find a way to delete it.