how do I identify the problem field/attribute mapping?
![]()
I am seeing the following stack trace back in my tomcat session for my CQ Connector gateway.
14 Jul 2009 21:11:09,404 ERROR com.ibm.rational.interop.level1 - Exception com.ibm.team.interop.service.managers.clearquest.common.InteropException: CRJAZ0002I Error creating the item identified by collection "https://cmdtsweb4.usca.ibm.com:9444/jazz/service/com.ibm.team.repository.common.internal.IItemRestService/com.ibm.team.repository/itemCol/com.ibm.team.interop.ExternalState". Exception message: Validation errors for item: type = ExternalState, itemId = Value of attribute "mediumStringExtensions.value" is 1016 bytes, which is greater than the allowed encoded length of 1000 bytes. at com.ibm.rational.connector.cq.common.jazzgateway.JazzInteropEventHandlerUsingRestClient.handleCreateEvent(JazzInteropEventHandlerUsingRestClient.java:526) at com.ibm.rational.connector.cq.common.jazzgateway.JazzGateway.create(JazzGateway.java:55) at com.ibm.rational.connector.cq.gateway.CQChangeEventProcessor.processChangeRecord(CQChangeEventProcessor.java:92) at com.ibm.rational.connector.cq.gateway.CQChangeEventProcessor.run(CQChangeEventProcessor.java:140) Caused by: com.ibm.team.interop.client.rest.InteropClientException: CRJAZ0002I Error creating the item identified by collection "https://cmdtsweb4.usca.ibm.com:9444/jazz/service/com.ibm.team.repository.common.internal.IItemRestService/com.ibm.team.repository/itemCol/com.ibm.team.interop.ExternalState". Exception message: Validation errors for item: type = ExternalState, itemId = Value of attribute "mediumStringExtensions.value" is 1016 bytes, which is greater than the allowed encoded length of 1000 bytes. at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.failIfNecessary(RdbRepositoryDataMediator.java:363) at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.validateItem(RdbRepositoryDataMediator.java:345) at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.saveItemInTxn(RdbRepositoryDataMediator.java:403) at com.ibm.team.repository.service.internal.RepositoryItemService.doSaveItemInTxn(RepositoryItemService.java:1194) at com.ibm.team.repository.service.internal.RepositoryItemService.access$11(RepositoryItemService.java:1187) at com.ibm.team.repository.service.internal.RepositoryItemService$14.run(RepositoryItemService.java:1168) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:466) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:292) at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:328) at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:378) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy270.withCurrentConnection(Unknown Source) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:288) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:244) at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:74) at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:378) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy280.runInTransaction(Unknown Source) at com.ibm.team.repository.service.internal.RepositoryItemService.saveItemInTxn(RepositoryItemService.java:1166) at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:378) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy65.saveItemInTxn(Unknown Source) at com.ibm.team.repository.service.internal.ComponentRepositoryItemService.saveItemInTxn(ComponentRepositoryItemService.java:539) at com.ibm.team.interop.service.internal.InteropService.doSaveExternalState(InteropService.java:1837) at com.ibm.team.interop.service.internal.InteropService.saveExternalState(InteropService.java:524) at sun.reflect.GeneratedMethodAccessor457.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:378) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy409.saveExternalState(Unknown Source) at com.ibm.team.interop.service.internal.InteropCrudService.saveItem(InteropCrudService.java:433) at com.ibm.team.interop.service.internal.InteropCrudService.createItem(InteropCrudService.java:125) at sun.reflect.GeneratedMethodAccessor540.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:378) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy861.createItem(Unknown Source) at com.ibm.team.gateway.service.internal.AbstractRestService.createNewItem(AbstractRestService.java:368) at com.ibm.team.gateway.service.internal.ItemRestService.perform_POST(ItemRestService.java:70) at com.ibm.team.repository.service.TeamRawService.service(TeamRawService.java:90) at sun.reflect.GeneratedMethodAccessor211.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:378) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:364) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy448.service(Unknown Source) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestService(AbstractTeamServerServlet.java:863) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1652) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1471) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:121) at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:54) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:810) I believe it is telling me that one of my CQ fields that is being synced is too big for its corresponding RTC field, but I can't tell which one. None of my fields actually seem to be over 1000, though a couple are fairly close. Are either of the Description or Comments built in RTC attributes set as a medium string. (1000 chars or less?) Thanks, Chris |
3 answers
![]()
Hello Chris,
from the RTC Client, open the Synchronization Rules view right-click the Project Area for which you're trying to sync with CQ, and select "Show All Unsynchronized". This should list entries in the Synchronization Status view. Double-click an entry to display error details. (sample screen caps attached) Any further help needed, please ping me under S/T. Eric. chrisr a crit : I am seeing the following stack trace back in my tomcat session for my |
![]()
You can get more information in the jazz server log. To enable it, go to the log4j.properties file in the Jazz Team Server install directory, subdirectory server, and add the following:
log4j.logger.com.ibm.team.interop=DEBUG and then restart the jazz server. Rich Piazza Jazz CQ Connector team |
![]()
This is a bug; the CQ gateway code thinks certain string values can be 1024 bytes long, but the server-imposed limit is 1000 bytes (at some point it was reduced from 1024 to 1000). I've entered
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/87672 Unfortunately, there is no easy to find out exactly which CQ field has the long value, other than to look at suspect fields. |
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.