While Creation of participant for automatic creation of workitem gives an exception CRJAZ6011E
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
Accepted answer
isntalldirectory/server/logs/ccm.log
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.