Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

facing error while login to team repository

code to login ::

TeamPlatform.startup();
teamRepository = 
      TeamPlatform.getTeamRepositoryService().getTeamRepository(s);
   
    teamRepository.registerLoginHandler(new LoginUtil.LoginHandler(user, password));
   
    
teamRepository.login(null);

Blocked with below error while login


Exception in thread "main" com.ibm.team.repository.common.TeamRepositoryExceptio
n: CRJAZ0056I There is a version mismatch for the "com.ibm.team.repository" serv
ice.  The server version is "35" while the client version is "32".
        at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.validat
eServiceCall(ServiceInterfaceProxy.java:223)
        at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(
ServiceInterfaceProxy.java:87)
        at com.sun.proxy.$Proxy0.describe(Unknown Source)
        at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepo
sitory.java:1513)
        at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepo
sitory.java:1)
        at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepo
sitory.java:1287)
        at com.ibm.team.repository.common.transport.CancelableCaller.call(Cancel
ableCaller.java:79)
        at com.ibm.team.repository.client.internal.TeamRepository.callCancelable
Service(TeamRepository.java:1280)
        at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(
TeamRepository.java:1506)
        at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepo
sitory.java:641)

0 votes


Accepted answer

Permanent link

The error is easy enough to understand by just reading it. You are using an outdated Plain Java Client Library version against a server that is running a more recent and incompatible version. See https://rsjazz.wordpress.com/2013/07/09/new-version-and-now-experiences-with-sdk-and-plain-java-api-across-tool-versions/


 

arun sudarsanam selected this answer as the correct answer

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,054

Question asked: Jun 23 '17, 2:39 a.m.

Question was seen: 3,457 times

Last updated: Jun 23 '17, 6:29 a.m.

Confirmation Cancel Confirm