It's all about the answers!

Ask a question

The Item with item Id references content but that content does not exist


Sumant Renukarya (1.1k23339) | asked Apr 08 '14, 10:52 a.m.
1. Initially there were issues where work items were not showing the last changes in the web client only. Trying to save the work item in web used to display the following message:

*****

*Save conflict. Failed saving work item because it didn't have the most recent state.


*****

Also, the history couldn't be retrieved from any of the work items in both Eclipse and web client. 

2. After this, the server was restarted and this issue is not seen anymore. Things work just fine. 

3. Running a repotools -onlineverify does show the following messages:

**********

2014-04-04 12:39:50,915 The ITEM_STATE row with itemId = [UUID
_9uvRobQbEd66z4gp1zm9nA], keyId = [UUID _QwQtURVtEd-Ap9iccmWGwA], and
itemType = com.ibm.team.repository#RepositoryRoot contained an item
that references the predecessor state [UUID _N2S2kRVtEd-Ap9iccmWGwA],
but that state could not be found in the DB. There are no states older
than this state, so the history seems to have been truncated.
 
 
-->
 
2014-04-04 13:04:41,985 The Item with item Id
"_4QSw0LwLEeOgiMAf4lEQHw", state Id "_4QY3cbwLEeOgiMAf4lEQHw", and type
"com.ibm.team.reports.StorageNode" references content
"_4QTX4LwLEeOgiMAf4lEQHw" but that content does not exist.
 

**********

Should I be worried about these messages or can these be ignored? 

Thank you

Accepted answer


permanent link
Krzysztof Kaźmierczyk (7.5k480103) | answered Apr 09 '14, 6:01 a.m.
Hi Sumant,
I think that you have 2 issues here:

1. Save work item conflict and work item history could not be fetched from work item.
Did you have any errors in ccm.log from the time of fetching the history? This is the only way how we can find a root cause. For save work item conflict, usually refreshing the page helps.

2. Online verifier shows
2014-04-04 13:04:41,985 The Item with item Id
"_4QSw0LwLEeOgiMAf4lEQHw", state Id "_4QY3cbwLEeOgiMAf4lEQHw", and type
"com.ibm.team.reports.StorageNode" references content
"_4QTX4LwLEeOgiMAf4lEQHw" but that content does not exist.
There is addmissingitems tool to fix these issue. You need to have a PMR for this and support can find the tool and instructions in internal escalations to fix that.

Let us know it that helped.
Sumant Renukarya selected this answer as the correct answer

Comments
Sumant Renukarya commented Apr 11 '14, 12:20 p.m.

Hi Krzys


Thanks for the response. For 1, refresh did not help. As mentioned, the server restart did help though. 

For 2, yes I have the PMR but was wondering for any other inputs. This helps.  

Your answer


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