It's all about the answers!

Ask a question

CC Synchronization Failed with exception saving work item


Richard Moran (676) | asked May 27 '09, 2:07 p.m.
When running a synchronization using the Clearcase connector for RTC it fails at the end when trying to save the associated work item.

Error From the log:

Caused by: Validation errors for item: type = WorkItem, itemId =
Value of attribute "description" is 45010 bytes, which is greater than the allowed encoded length of 32768 bytes.

BUILD FAILED
C:\ibm\jazz\ccctools\ScmConnectors\synchronizeStream.xml:59: javax.wvcm.WvcmException: Synchronization failed.


Partial stack trace:

avax.wvcm.WvcmException: Could not save workitem: Exception saving work item
at com.ibm.team.connector.scm.client.JzRepoWorkItem.saveWorkItem(JzRepoWorkItem.java:307)
at com.ibm.team.connector.scm.client.JzRepoWorkItem.setComment(JzRepoWorkItem.java:400)
at com.ibm.team.connector.scm.client.JzRepoWorkItem.setPropertyFromClient(JzRepoWorkItem.java:368)

One answer



permanent link
Geoffrey Clemm (30.1k33035) | answered May 27 '09, 9:57 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I've filed defect 84576 for this.

This means that there are a large number of CC activities being brought
over and/or the names of those activities are long.
The bugfix is easy (truncate the description field when it gets too
long), so although there is very little time left for 2.0, hopefully we
can get this fixed for 2.0.

There is an internal "property" you can set that should allow you to
workaround this problem. In particular, in the Jazz properties page of
the Synchronization Stream properties dialog box, try setting
IGNORE_TASK_CREATION_FAILURE to "true", and retry the sync.

Cheers,
Geoff



rjmoran68 wrote:
When running a synchronization using the Clearcase connector for RTC
it fails at the end when trying to save the associated work item.

Error From the log:

Caused by: Validation errors for item: type = WorkItem, itemId
=
Value of attribute "description" is 45010
bytes, which is greater than the allowed encoded length of 32768
bytes.

BUILD FAILED
C:\ibm\jazz\ccctools\ScmConnectors\synchronizeStream.xml:59:
javax.wvcm.WvcmException: Synchronization failed.


Partial stack trace:

avax.wvcm.WvcmException: Could not save workitem: Exception saving
work item
at
com.ibm.team.connector.scm.client.JzRepoWorkItem.saveWorkItem(JzRepoWorkItem.java:307)
at
com.ibm.team.connector.scm.client.JzRepoWorkItem.setComment(JzRepoWorkItem.java:400)
at
com.ibm.team.connector.scm.client.JzRepoWorkItem.setPropertyFromClient(JzRepoWorkItem.java:368)

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.