IBM Support

"Unable to check in file" error when checking in a RobotJ script

Troubleshooting


Problem

"When checking in a Rational RobotJ script to ClearCase LT the following error is given: Rational RobotJ: The most recent version on branch "\main" is not the predecessor of this version.

Resolving The Problem

SUMMARY:

When checking in a Rational RobotJ script to ClearCase LT the following error is given:
Rational RobotJ:
The most recent version on branch "\main" is not the predecessor of this version.

Unable to check in "<path to file>"

This occurs when the check-in requires a non-trivial merge and snapshot views are being used. The error is given just prior to when the ClearCase Diff-Merge Window would be launched to resolve the non-trivial merge conflict.

Examining the version tree of the file shows that there are versions checked in after the check out from the view giving the error. The version tree will look similar to the following:
cleartool> lsvtree -all CC2.java
CC2.java@@\main
CC2.java@@\main\0
CC2.java@@\main\1
CC2.java@@\main\2
CC2.java@@\main\CHECKEDOUT view "my_view"
CC2.java@@\main\3

TROUBLESHOOTING TIPS:

1. Update the snapshot view where the file is being checked in.
This can be done from the ClearCase Explorer that is found under:
Start -> Programs -> Rational -> ClearCase LT Client -> Rational ClearCase LT Explore
On the Views Tab, right click the view and select "Update View"
Once the view is updated, try again to check in the file from RobotJ.

2. Install the latest ClearCase LT patch for v2002.05.20. This can be downloaded from Rational at: http://www-3.ibm.com/software/awdtools/clearcase/support/index.html



[{"Product":{"code":"SSSHZT","label":"Rational XDE Tester"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003","Edition":"","Line of Business":{"code":"","label":""}}]

Historical Number

138866409

Document Information

Modified date:
16 June 2018

UID

swg21133455