It's all about the answers!

Ask a question

ANIL ABRAHAM (2322024) | asked Oct 04 '12, 6:58 p.m.

PLease give your suggestion Iam getting below error mesage when i

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


 The service 'testworldadvisor.TestWorldProhibitSave@540c540c' failed to find the required service 'interface'.


  Check <prerequisites> in plugin.xml.

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

When i perform then following code

-Code start ---

IWorkItemCommon wiCommon = getService(IWorkItemCommon.


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


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


-- Code stop

One answer

permanent link
Lauren Hayward Schaefer (3.3k11527) | answered Oct 08 '12, 6:59 a.m.
Hi Anil,
I'm not certain, but I think the problem may be that you need to add to your plugin's manifest file in the Require-Bundle section.

Your answer

Register or to post your answer.