ItemNotFound while creating a workitem using java Api
Hello,
I am trying to create a workitem using java client api, but getting following exception. CRJAZ0215E The following record was not found in the database: com.ibm.team.workitem.common.internal.model.impl.WorkItemHandleImpl@2fb8cd (stateId: <unset>, itemId: [UUID _Aqu8EGHxEeWHhc6IAavp9Q], origin: com.ibm.team.repository.client.internal.TeamRepository@142256f, immutable: <unset>) Any hint or solution? Thanks, Sud |
Accepted answer
Ralph Schoon (63.3k●3●36●46)
| answered Sep 23 '15, 11:04 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you set up your environment for debugging, you should be able to see where that happens. With this few information I doubt anyone can answer.
See How should I ask a question in the Forum if I want to receive useful answers? for more information that should be given. See Setting up Rational Team Concert for API Development for how to set up a development environment for debugging including Plain Java API. See Understanding and Using the RTC Java Client API for the additional steps, including the section Alternative to Create and Modify WorkItems which provides working example code. Sudipto Sarkar selected this answer as the correct answer
Comments
Sudipto Sarkar
commented Sep 24 '15, 8:29 a.m.
Hello Ralph,
Good that you have debugging up and running. this will make your life so much easier.
|
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.