I know this question was asked a while ago, but I recently ran into the same error.
In my case, the issue arose from a mismatch between my entity and the actual table structure (a field existed in the entity but not in the database table, for example).
So double-check that your entity is fully aligned with your database schema.
Fixing that should resolve the problem.