It's all about the answers!

Ask a question

Exception after enabling the operation advisor example plugin


sneha bate (173912) | asked Aug 02 '13, 5:52 a.m.
Hi All,


I have set the plugin development environment in RTC eclipse client 4.0 and then deployed operation advisor plugin in eclipse.
Then i have added the precondition on workitem save operation using operation advisor plugin but at the time of saving it shows below exception:





can anyone help me in this???
Thanks in advance.

One answer



permanent link
Ralph Schoon (57.1k23642) | answered Aug 02 '13, 6:39 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Aug 02 '13, 6:40 a.m.
The exception in the log should give more information. From the bits I see, the extending class does not match the interface it is supposed to match. The class must implement

com.ibm.team.process.common.advice.runtime.IOperationAdvisor

You should also extend AbstractService. Did you run the Extensions Workshop?




Comments
sneha bate commented Aug 02 '13, 7:43 a.m.

Hi

The log file shows below information and from it i can not figure out what exactly is going wrong???



Ralph Schoon commented Aug 02 '13, 7:56 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
  1. Use Google to search for your error message.
  2. Debug what is happening. See https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/ .

My best guess is that the class you declared as extending the extension point has a wrong interface or something.

Your answer


Register or to post your answer.