Troubleshooting
Problem
This technote explains why the error, Error retrieving recommended baselines for stream Not a VOB object: OID, might occur when using IBM Rational ClearCase to rebase a UCM stream.
Symptom
Attempts to rebase a UCM stream to a particular composite baseline results in the following error when the rebase is started:
"Error retrieving recommended baselines for stream
Not a VOB object: OID"
A describe on the composite baseline will show the following within the list of the member baselines:
cleartool: Error: Non-existent component: oid:10610252.7868472a.9e87.97:c9:a8:75:0a:31@\jonespvob1
cleartool: Error: Non-existent baseline: oid:b0050bb8.ae804e67.9dfd.b4:3a:66:6a:42:0e@\jonespvob1
<baseline unavailable> (<component unavailable>)
Cause
At a point in time before this rebase was initiated, a member component of this composite baseline was removed. The metadata that links the component to the composite baseline, however, still exists and must be removed in order to continue using the composite baseline.
Resolving The Problem
Starting in ClearCase 2003.06.15, functionality was added to the checkvob command that will allow a user to fix the broken baseline dependency.
Checkvob must be run in the following manner against the composite baseline:
cleartool checkvob -ucm -fix baseline:<composite BL>@\<pvobtag>
When checkvob comes across the broken baseline dependency, you will see the following:
cleartool: Warning: ** Broken baseline dependency to component: <null object>
cleartool: Warning: ** There are 1 broken dependencies in baseline: rootlessBL_3
Do you want to delete the bad baseline dependencies? [no]
Typing "y" here and hitting return will fix the broken dependency. A subsequent describe of the composite baseline no longer shows the error:
baseline "rootlessBL_3"
created 10-Aug-07.09:29:41 by Mike jones (mjones.user@tribe)
owner: DOMAIN1\mjones
group: DOMAIN1\user
component: rootless@\jonespvob1
label status: No Versions to Label
change sets:
promotion level: INITIAL
depends on:
Attributes:
PromotionLevel = "INITIAL"
Review the ClearCase Command Reference Guide on the topic of rebase (cleartool man rebase) for more information.
The error can also be resolved by running the following command:
cleartool chstream -nrecommend stream:<stream-name>@\pvob
After running the above command you can recommend a new baseline on the stream.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21267862