It's all about the answers!

Ask a question

Getting unhandled exception- Failed to find the required service com.ibm.team.process.service.Iprocesssercerservice


lakshmi jyothsna (37118) | asked Sep 20 '17, 12:21 p.m.

 Hi Jazz.


Looking forward for your suggestions!!!

We are writing a server side plugin to get the role names assigned to the creator. 

IServerProcess serverProcess = processService.getServerProcess(processArea);
IRole[] memberRoles = serverProcess.getContributorRoles(creatorHandle, processArea);

if we coded as above , we are getting unhandled exception -  failed to  find the required service com.ibm.team.process.service.Iprocesssercerservice in plugin.xml . when we added the pre requisite in plugin.xml , the plugin itself  not instantiated giving CRJAZ6010E.
 so as per your answer to one question in the forum we try to get the role ids by using
String[]roles = projectArea.getRoleAssignmentIds(creatorHandle);
please suggest us how to get the role names from these string[] of roles ? how this sting [] is compatible with Irole2 ?
please reply ,...

Regards,
Jyothsna.


Be the first one to answer this question!


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.