This indicates that a system file is corrupt. This can be fixed with a hard reset. Since you have access to the phone, go to Settings > Privacy > Factory Reset. This operation will re-install all the system applications from scratch. If you keep experiencing errors, go to Settings > About > Software Update and follow the instructions. This should also fix the errors you encounter.