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

Failed to get the component id for service when invoking the follow up action

 Hi,
I developed a custom RTC plugin which takes care of setting the current iteration for the the Planned attribute of the defect.

I installed it on to the server successfullt and add it to the project area as a follow up action.

when I try to create defect and save it it is throwing me the following exception.

An unhandled exception occurred during "Defect Iteration Adjuster".
Failed to get the component id for service 'com.ca.extensions.DefectIterationAdjuster'.

I`m not aware of these kind of issues please throw some light.

Thanks
Surender

0 votes


Accepted answer

Permanent link
I can only guess you did either not specify a Jazz component (See article 1000 Lab 2, page 57 and following pages), or did not provide the id of said Jazz component in the extensions plugin.xml.

As part of creating this operation participant, you will also be creating a
new Jazz component. It is sometimes possible to create a participant
without creating a new component, however; in this case, you will need a
component because:
- the participant will be requesting services from other components,
- therefore, the participant must declare dependency on those
other components, and
- in order to declare the dependency, the participant itself must be
part of a component.
See the screenshots of the workshop example below.

Defining the Jazz Component.
Definition of The Jazz component
Usage of the Component by providing the ID
Usage of the Component by providing the ID




Surender Biyyala selected this answer as the correct answer

0 votes

Comments

 Thanks a bunch Ralph,


I fixed this as mentioned above. and many thanks for helping me in completing my first RTC plugin Development.
Its up and running now. 

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
× 10,938

Question asked: Mar 11 '14, 8:08 a.m.

Question was seen: 2,979 times

Last updated: Mar 11 '14, 11:54 a.m.

Confirmation Cancel Confirm