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

While Creation of participant for automatic creation of workitem gives an exception CRJAZ6011E

Hello,

I have created the operation participant for automatic creation of workitems. On particular state change of the workitem, new workitems sholud get created automatically this is the idea. I have created the operation participant. But as I move from one state to next state for participant to run it gives me an exception "Unable to instantiate participant WICreation_V14.operationParticipant1.
CRJAZ6011E The operation participant cannot be created because an exception occurred. For more information, see the exception.

" Please help me out in this.

Note : Added all the prerequisites in the plugin.xml also imported all the required interfaces

Thanks,
Dnyanesh

0 votes


Accepted answer

Permanent link
you should be able to see the exception report in the server log

isntalldirectory/server/logs/ccm.log
Dnyanesh Markad selected this answer as the correct answer

0 votes

Comments

The log shows the following exception :

2013-02-16 11:06:47,981 [         http-bio-9443-exec-29] ERROR com.ibm.team.process.common                         -
java.lang.NullPointerException
    at wicreation_v15.AutomaticWorkitemCreation.createWorkItem(AutomaticWorkitemCreation.java:120)
    at wicreation_v15.AutomaticWorkitemCreation.run(AutomaticWorkitemCreation.java:89)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
    at org.eclips

Please follow the RTC extensions workshop to debug your code. It should be easy enough to find the source of that exception and then the parameter that is null.

1 vote

I just created a participant that creates a work item and it works well. I am not sure what parameter is null in your line 120, but it is certainly possible to do that in the server, so I would suggest to look at line 120 and debug which parameter s null.

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
× 343

Question asked: Feb 15 '13, 2:53 p.m.

Question was seen: 4,600 times

Last updated: Feb 20 '13, 2:36 a.m.

Related questions
Confirmation Cancel Confirm