It's all about the answers!

Ask a question

Problem when use ITeamRepository login


Ali tech (211610) | asked Jun 11 '10, 10:55 p.m.
when I use these code:

ITeamRepository teamRepository= TeamPlatform.getTeamRepositoryService().getTeamRepository(repositoryURI);

teamRepository.registerLoginHandler(new LoginHandler(userId, password));
teamRepository.login(null);


came out the following error,

2010-6-12 10:40:16 com.ibm.team.repository.common.internal.util.StandaloneAdapterRegistry loadFactory

严重: org.eclipse.core.runtime.CoreException: 添加程序com.ibm.team.workitem.rcp.ui找不到类com.ibm.team.jface.labelProviders.LabelProviderFactory。
2010-6-12 10:40:16 com.ibm.team.repository.common.util.ExtensionReader logError
警告: Plugin com.ibm.team.workitem.rcp.ui, extension org.eclipse.core.runtime.adapters
Error processing extension: org.eclipse.core.internal.registry.ConfigurationElementHandle@48a


can someone tell me the resson?
thank you very much!!!!!!!1

One answer



permanent link
Geoffrey Clemm (30.1k33035) | answered Jun 12 '10, 9:29 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you have questions about using the API to access the Team Repository,
you'll want to post to the jazz.extend forum, not the rqm.user forum.

Cheers,
Geoff

On 6/11/2010 11:07 PM, Alitech wrote:
when I use these code:

ITeamRepository teamRepository=
TeamPlatform.getTeamRepositoryService().getTeamRepository(repositoryURI);
teamRepository.registerLoginHandler(new LoginHandler(userId,
password));
teamRepository.login(null);

came out the following error,

2010-6-12 10:40:16
com.ibm.team.repository.common.internal.util.StandaloneAdapterRegistry
loadFactory
%: org.eclipse.core.runtime.CoreException:
com.ibm.team.workitem.rcp.ui~0{com.ibm.team.jface.labelProviders.LabelProviderFactory
2010-6-12 10:40:16
com.ibm.team.repository.common.util.ExtensionReader logError
fJ: Plugin com.ibm.team.workitem.rcp.ui, extension
org.eclipse.core.runtime.adapters
Error processing extension:
org.eclipse.core.internal.registry.ConfigurationElementHandle@48a


can someone tell me the resson?
thank you very much!!!!!!!1

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.