I am getting the following error after selecting commit in a StarTeam View Compare Merge. Has anyone else run into this and know what could be causing the error and know how to fix it?

"An error occurred while processing file XYZ.cpp in folder aaa_bbb_ccc\foldera\folderb\folderc\ of the Target view. Unable to perform checkin. The selected item is read-only and cannot be modified...
Do you want to restart this view Compare/Merge session?
Press "No" to end the session(recommended) Press "Cancel" to continue the session, Press "Yes" to restart the session."