It's all about the answers!

Ask a question

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

Surender Biyyala (403248) | asked Mar 11 '14, 8:08 a.m.
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 ''.

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


Accepted answer

permanent link
Ralph Schoon (62.7k33643) | answered Mar 11 '14, 8:54 a.m.
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

Surender Biyyala commented Mar 11 '14, 11:54 a.m.

 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 to post your answer.