Is there an aggregate list function after the retrieve?
If so mendix will optimize the database query and not actually retrieve the list but do a count/sum etc directly from the database
This means you won't be able to set your breakpoint on the retrieve. But you'll have to set it on the aggregate list action.
The error message text could be better in these cases.