While attempting to deploy a profile you might get the following error;
javax.persistence.rollbackexception error committing the transaction
The profile has become corrupted and is not accepting changes. In order to correct this issue, preform the following steps;
- Export the profile to your desktop
- Import the just exported profile back to the SMS
- Make required changes to the profile
- Once you have confirmed the imported profile is good, rename it and use that profile instead of the old profile
- Distribute profile to the device