CRJAZ1244I Not logged in to the repository at URL
Hello everybody, I'm trying to recover changeSets of my project.
My Code:
ITeamRepository teamRepository = TeamPlatform.getTeamRepositoryService().getTeamRepository(rtcURL);
String ctpw = new String(ObfuscationHelper.encryptString(pass));
teamRepository.registerLoginHandler(getLoginHandler(user, ctpw));
IClientLibraryContext ctx = (IClientLibraryContext) teamRepository;
IScmRestService2 svc = (IScmRestService2) ctx.getServiceInterface(IScmRestService2.class);
ParmsGetHistoryPlus parmsGetHistory = new ParmsGetHistoryPlus();
parmsGetHistory.first = "0";
parmsGetHistory.n = "1000";
parmsGetHistory.path = "workspaceId%2F_yJmT0TXOEeOjhIrPD1idRA%2FcomponentId%2F_VafBsNgQEeKs446MAiQB2g";
HistoryPlusDTO historyPlus = svc.getHistoryPlus(parmsGetHistory);
And I am getting the following error :
com.ibm.team.repository.common.NotLoggedInException: CRJAZ1244I Not logged in to the repository at URL Any help is valid.
Sândalo Bessa