Welcome to Android Central! This is often due to a corrupt media file (i.e., photo, video or music file), and is more common with files on the SD card. If you have an SD card inserted, try Unmounting it in Settings>Storage and then removing it, and see if the error persists.