It's all about the answers!

Ask a question

RTC issue: com.ibm.team.repository.common.UUID was expected


Alexander Gavrin (122) | asked Apr 14 '09, 8:54 a.m.
Hello,

I am seeing the following error when I open my project in RTC (both fat client and web UI):
com.ibm.team.repository.common.TeamRepositoryException: Incorrectly typed parameter submitted to query; Parameter 0 was class java.lang.String but com.ibm.team.repository.common.UUID was expected

at com.ibm.team.repository.service.internal.QueryService.validateParameterTypes(QueryService.java:742)
at com.ibm.team.repository.service.internal.QueryService.performQuery(QueryService.java:531)
at com.ibm.team.repository.service.internal.QueryService.doExecuteItemQuery(QueryService.java:387)
at com.ibm.team.repository.service.internal.QueryService.access$0(QueryService.java:384)
at com.ibm.team.repository.service.internal.QueryService$1.run(QueryService.java:221)
...
at com.ibm.team.workitem.rcp.ui.internal.viewer.ResultRetrievalStrategy$RetrievalJob.runProtected(Unknown Source)
at com.ibm.team.foundation.client.util.FoundationJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)


This error is reported also:
An error occurred while communicating with the server. [500] : com.ibm.team.workitem.common.internal.model.EnumerationAttributeType incompatible with com.ibm.team.workitem.common.internal.model.CategoryAttributeType 



I am not sure where to look. I have tried to add a field yesterday, everything went well, but today I am getting this error. I reverted my changes back by removing the field, but still the same issue. Where should I look?

4 answers



permanent link
Christophe Elek (2.9k13021) | answered Apr 15 '09, 7:26 p.m.
JAZZ DEVELOPER
discussion here

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=78488

permanent link
Suvajit Chakraborty (6) | answered Feb 17 '11, 9:02 a.m.
Hello Everyone

I am seeing the following error when I am trying to add/register "/ccm" application within "jts" for RTC 3.0 installed on SUSE 11.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Error invoking registration handler for application "/ccm" at https://srti017a.rtindia.daimlerchrysler.com:9443/ccm/service/com.ibm.team.repository.service.internal.setup.IRegistrationHandlerServiceID CRJAZ1720E
com.ibm.team.repository.common.TeamRepositoryException
com.ibm.team.repository.service.internal.discovery.ApplicationRegistrationFriendRestService.postRegisterApp(ApplicationRegistrationFriendRestService.java:142)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:618)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
$Proxy751.postRegisterApp(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:618)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:501)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1832)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1688)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1598)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:62)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
java.lang.Thread.run(Thread.java:811)
Caused by:
Registration handler for application "/ccm" at https://srti017a.rtindia.daimlerchrysler.com:9443/ccm/service/com.ibm.team.repository.service.internal.setup.IRegistrationHandlerService failed with status 409 and response body " HTTP Status 409 - A pending JTS friend entry file already exists at /opt/IBM/JazzTeamServer/server/tomcat/work/Catalina/localhost/ccm/eclipse/configuration/org.eclipse.osgi/bundles/259/data/pending-jts-friend.rdf, with different JTS parameters. The previous registration attempt must be finalized.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
When I dig deep into this, I found the following disconnects.

1> After installation of RTC 3.0 on SUSE, I cannot connect to the JTS Admin login with "https://hostname:9443/jts/admin". But when I changed the SSL settings to point to "http://hostname:9080/jts/admin" from my web browser.

2> It connects only from the Linux GUI (firfox) with the following URL format. "https://localhost:9443/jts/admin". Though it works the same for "http://hostname:9080/jts/admin" from within the SUSE box.

Do you have similar issue in the past, I did not find anything in the forum.

Regards
Suvajit

permanent link
Pradeep A N (2155) | answered Feb 18 '11, 3:41 a.m.
Hi Suvajit

Please refer to this thread you might find an answer.

http://jazz.net/forums/viewtopic.php?t=15176

Regards
Pradeep

permanent link
Kevin Ramer (4.5k9186201) | answered Jun 03 '11, 11:18 a.m.
discussion here

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=78488


I've read this an the linked work item. I am seeing this issue on a project area to which
I have added a custom attribute based on an enumeration type. I some early issues
because the work item type are created by a stand-alone program and I took the same code for another enum based attribute. I ended up with "text" in the database for VALUE_COL instead of the enumeration literal string. That would lead to queries on the enumeration value to fail, even though it appears that the value is on the work item. I updated the VALUE_COL with the enumeration literal and then the query can find associated work items .. for a while.

The query works when "freshly" saved or created, but revisiting the query after a new session gives:

Incorrectly typed parameter submitted to query; Parameter 22 was class java.lang.String but com.ibm.team.repository.common.UUID was expected

in the RTC client. On the Web client:

com.ibm.team.workitem.common.model.Identifier incompatible with com.ibm.team.workitem.common.model.ICategoryHandle

The query thus affected cannot be edited and can only be deleted. Also, when I try to add the attribute in question to the query display, it picks Filed Against instead.

In the process xml there is this:

			    <customAttributes category="com.ibm.team.workitem.workItemType.rfe">

<customAttribute id="justification" name="Business Justification" type="html"/>
<customAttribute id="usecase" name="Use Case" type="html"/>
<customAttribute id="submitterpriority" name="Submitter Priority" type="customerpriority"/>
<customAttribute id="company" name="Company" type="smallString"/>
<customAttribute id="devworks" name="DevWorks RFE Id" type="integer"/>
<customAttribute id="product" name="Product Name" type="rfeProductName"/>
</customAttributes>
<attributeDefinitions>
<attributeDefinition id="product" name="Product Name" type="rfeProductName"/>
</attributeDefinitions>
</configuration-data>


What is the attributeDefinition bit ? I don't see that on any of the other process configs I've looked at.

How can I correct the behaviour so that 1) The query performs properly and 2) the attribute can consistently be displayed in a work item query ?

Kevin

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.