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);
}