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
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
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.
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.