It's all about the answers!

Ask a question

Error Associating ClearCase Version


Randy Makoski (323) | asked Oct 11 '11, 12:37 p.m.
We are using RTC 3.0.1 with the ClearCase bridge. User has installed Eclipse 3.5.2 with the Rational SCM plugin and the RTC plugin. User can associate most ClearCase versions with most work items. However, one version in particular produces an error:

Error Saving Links
String index out of range: -1

Stack trace references com.ibm.team.connector.ccbridge.client.ClearCaseWorkItemOps.trimComment(ClearCaseWorkItemOps.java:533)

Other users get the same error when trying to associate this version. Other versions in the same folder can be associated successfully.

Any thoughts or help would be appreciated.

2 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Oct 12 '11, 12:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Please submit a work item on jazz.net, and include the full stack trace
(or contact Rational Support, and they can submit it for you).
The dev team will then get you a workaround, and will get that bug fixed
in the next fixpack.

I'm guessing it is something unusual about the comment associated with
that version. One workaround would probably be to use "cleartool
chevent" to replace that comment string with something simpler.

Cheers,
Geoff

On 10/11/2011 12:38 PM, rmakoski wrote:
We are using RTC 3.0.1 with the ClearCase bridge. User has installed
Eclipse 3.5.2 with the Rational SCM plugin and the RTC plugin. User
can associate most ClearCase versions with most work items. However,
one version in particular produces an error:

Error Saving Links
String index out of range: -1

Stack trace references
com.ibm.team.connector.ccbridge.client.ClearCaseWorkItemOps.trimComment(ClearCaseWorkItemOps.java:533)

Other users get the same error when trying to associate this version.
Other versions in the same folder can be associated successfully.

Any thoughts or help would be appreciated.

permanent link
Masabumi koinuma (46115) | answered Oct 12 '11, 12:38 a.m.
JAZZ DEVELOPER
This is probably a known issue : CCBridge with CTE : StringIndexOutOfBoundsException when you associate a checkout version to a work item, which was fixed in both 3.0.1 patch stream and main dev stream. You can upgrade to a 3.0.1.* patch release when it is released.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.