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

com.ibm.team.repository.common.transport.internal.registry.ServiceNotFoundException:

PLease give your suggestion Iam getting below error mesage when i

Error Message ----------------- Start

com.ibm.team.repository.common.transport.internal.registry.ServiceNotFoundException:

 

 The service 'testworldadvisor.TestWorldProhibitSave@540c540c' failed to find the required service 'interface com.ibm.team.workitem.common.IWorkItemCommon'.

 

  Check <prerequisites> in plugin.xml.

Error Message ----------------- Stop

When i perform then following code

-Code start ---

IWorkItemCommon wiCommon = getService(IWorkItemCommon.

class);

IWorkItem wi = wiCommon.findWorkItemById((Integer)workItem.getId(), IWorkItem.

FULL_PROFILE, monitor);

XMLString string = wi.getHTMLSummary();

IContributorHandle creatorHandle = wi.getCreator();

IAttribute CustomString = wiCommon.findAttribute(wi.getProjectArea(),

"com.abcd.workitem.type.rfc", monitor);

if ((wi.hasCustomAttribute(CustomString)))

{

String value = (String) wi.getValue(CustomString);

System.

out.println("String : " + value);

}

-- Code stop

0 votes



One answer

Permanent link
Hi Anil,
I'm not certain, but I think the problem may be that you need to add com.ibm.team.workitem.common to your plugin's manifest file in the Require-Bundle section.

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
× 6,122

Question asked: Oct 04 '12, 6:58 p.m.

Question was seen: 5,863 times

Last updated: Oct 08 '12, 6:59 a.m.

Confirmation Cancel Confirm