Intermittent Exception from IItemManager.fetchCompleteItem
IItemManager.fetchCompleteItem is throwing an intermittent exception. . The code is attempting to lookup a baseline. Given a valid snapshot UUID, the second line sometimes fails. The first line is able to find the handle, but the fetchCompleteItem sometimes fails reporting that the item does not exist. Trying again later with the same UUID later typically works. Is the code below not using the API as it was intended?
Here is the exception:
Are there situations that could cause an item to appear not to exist? |
Accepted answer
I see a couple of possibilities:
Kirk Vogen selected this answer as the correct answer
Comments
Kirk Vogen
commented Dec 11 '12, 10:34 a.m.
Thanks for the response! I'm going to play around with the code per your suggestion in #1. Regarding #2, we are using the same user ID both for snapshot creation and snapshot lookup, so I think that we can rule that out.
Kirk Vogen
commented Dec 19 '12, 10:57 a.m.
This appears to have addressed the issue. We have not seen the intermittent exception after making this change. We've given it several days of run time so far without issue.
|
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.
Comments