This is still an issue in 5.7.1 - this was noted in our current logs:
"2015-04-07 08:08:50,536 WARN [NotificationSender:thread-2] [atlassian.confluence.core.DefaultDataSourceFactory] getAvatar Error getting profile picture for user=[wroth], profilePicture=[com.atlassian.confluence.user.actions.ProfilePictureInfo@519a0980[downloadPath=/download/attachments/819260/user-avatar?version=2&modificationDate=1427319701273&api=v2,fileName=user-avatar,uploaded=true]] : The [DefaultAttachmentManager] is missing a reference to a [ContentEntityObjectDao] due to being improperly initialized via a legacy constructor.
"
I am wondering when this can be addressed; squelching warnings from the logs is an exceedingly painful work-around.
I'm still experiencing this issue on release 5.6.5.