It's all about the answers!

Ask a question

CRRTC0161W: The work item was deleted, but not all of its associated links were cleaned up.


Shuchita Tripathi (31436595) | asked Apr 28 '15, 10:57 a.m.
Hi,

I am continuously getting this error in my log files of RTC.
CRRTC0161W: The work item was deleted, but not all of its associated links were cleaned up.

It doesn't give any other information of which work item is this error about. How to get rid of this error?
I am pasting the full error message.

2015-04-28 15:11:32,866 [ccm: AsynchronousTaskRunner-3 @@ 15:11] ERROR tem.service.internal.delete.WorkItemPostDeleteTask  - [Originating Plug-in: com.ibm.team.workitem.service] CRRTC0161W: The work item was deleted, but not all of its associated links were cleaned up. 
com.ibm.team.repository.common.ItemNotFoundException: CRJAZ0215E The following record was not found in the database: com.ibm.team.links.internal.links.impl.AuditableLinkHandleImpl@67923556 (stateId: null, itemId: [UUID _a2SIQ-2YEeSNYdRJKvkN6w], origin: <unset>, immutable: <unset>)
at com.ibm.team.repository.service.internal.RepositoryItemService.doFetchItem(RepositoryItemService.java:544)
at com.ibm.team.repository.service.internal.RepositoryItemService.access$4(RepositoryItemService.java:537)
at com.ibm.team.repository.service.internal.RepositoryItemService$4.run(RepositoryItemService.java:517)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:501)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:322)
at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:448)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
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.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy118.withCurrentConnection(Unknown Source)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:318)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:273)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:96)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
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.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy156.runInTransaction(Unknown Source)
at com.ibm.team.repository.service.internal.RepositoryItemService.fetchItem(RepositoryItemService.java:515)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
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.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy264.fetchItem(Unknown Source)
at com.ibm.team.links.service.internal.ConstraintChecker.checkComponentPermission(ConstraintChecker.java:77)
at com.ibm.team.links.service.internal.ComponentLinkService.deleteAuditableLink(ComponentLinkService.java:60)
at com.ibm.team.links.service.internal.AuditableLinkServiceLibrary.deleteLink(AuditableLinkServiceLibrary.java:62)
at com.ibm.team.workitem.service.internal.delete.WorkItemPostDeleteTask.deleteWorkItemLinks(WorkItemPostDeleteTask.java:161)
at com.ibm.team.workitem.service.internal.delete.WorkItemPostDeleteTask.runPostDeleteCleanUps(WorkItemPostDeleteTask.java:101)
at com.ibm.team.workitem.service.internal.delete.WorkItemPostDeleteTask.transactionSucceeded(WorkItemPostDeleteTask.java:86)
at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source)
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.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy703.transactionSucceeded(Unknown Source)
at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.transactionSucceeded(AsynchronousTaskSchedulerService.java:999)
at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.executeTask(AsynchronousTaskSchedulerService.java:1008)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:158)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:119)
at java.lang.Thread.run(Thread.java:773)
2015-04-28 15:11:32,976 [ccm: AsynchronousTaskRunner-0 @@ 15:11] ERROR tem.service.internal.delete.WorkItemPostDeleteTask  - [Originating Plug-in: com.ibm.team.workitem.service] CRRTC0161W: The work item was deleted, but not all of its associated links were cleaned up. 
com.ibm.team.repository.common.ItemNotFoundException: Deferred operation failed
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.preCommitNotify(RdbRepositoryDataMediator.java:1814)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$WriteExclusiveTransaction.completeTransaction(RepositoryDatabase.java:710)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.finishTransaction(RepositoryDatabase.java:535)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:323)
at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:448)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
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.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy118.withCurrentConnection(Unknown Source)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:318)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:273)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:96)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:91)
at sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source)
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.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy155.runInTransaction(Unknown Source)
at com.ibm.team.repository.service.AbstractService.runInTransaction(AbstractService.java:970)
at com.ibm.team.links.service.internal.LinkService.deleteAuditableLink(LinkService.java:236)
at sun.reflect.GeneratedMethodAccessor701.invoke(Unknown Source)
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.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy295.deleteAuditableLink(Unknown Source)
at com.ibm.team.links.service.internal.ComponentLinkService.deleteAuditableLink(ComponentLinkService.java:61)
at com.ibm.team.links.service.internal.AuditableLinkServiceLibrary.deleteLink(AuditableLinkServiceLibrary.java:62)
at com.ibm.team.workitem.service.internal.delete.WorkItemPostDeleteTask.deleteWorkItemLinks(WorkItemPostDeleteTask.java:161)
at com.ibm.team.workitem.service.internal.delete.WorkItemPostDeleteTask.runPostDeleteCleanUps(WorkItemPostDeleteTask.java:101)
at com.ibm.team.workitem.service.internal.delete.WorkItemPostDeleteTask.transactionSucceeded(WorkItemPostDeleteTask.java:86)
at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source)
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.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy703.transactionSucceeded(Unknown Source)
at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.transactionSucceeded(AsynchronousTaskSchedulerService.java:999)
at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.executeTask(AsynchronousTaskSchedulerService.java:1008)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:158)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:119)
at java.lang.Thread.run(Thread.java:773)
Caused by: com.ibm.team.repository.common.TeamRepositoryException: deferred delete failed
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.deleteItemInTxn(RdbRepositoryDataMediator.java:625)
at com.ibm.team.repository.service.internal.RepositoryItemService.doDeleteItemInTxn(RepositoryItemService.java:1122)
at com.ibm.team.repository.service.internal.RepositoryItemService.access$11(RepositoryItemService.java:1116)
at com.ibm.team.repository.service.internal.RepositoryItemService$13.run(RepositoryItemService.java:1110)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:349)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:273)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:96)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
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.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy156.runInTransaction(Unknown Source)
at com.ibm.team.repository.service.internal.RepositoryItemService.deleteItemInTxn(RepositoryItemService.java:1108)
at sun.reflect.GeneratedMethodAccessor702.invoke(Unknown Source)
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.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy264.deleteItemInTxn(Unknown Source)
at com.ibm.team.repository.service.internal.ComponentRepositoryItemService.deleteItemInTxn(ComponentRepositoryItemService.java:673)
at com.ibm.team.links.service.internal.LinkService$3.run(LinkService.java:238)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService$3.run(PrimitiveTransactionService.java:163)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:501)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:322)
... 45 more
Caused by: com.ibm.team.repository.common.ItemNotFoundException: CRJAZ0325I Item not found: com.ibm.team.links.internal.links.impl.AuditableLinkHandleImpl@3638ced5 (stateId: <unset>, itemId: [UUID _bOYfMe2YEeSNYdRJKvkN6w], origin: null, immutable: <unset>)
at com.ibm.team.repository.service.internal.dataaccess.AbstractRow.oneOrNotFound(AbstractRow.java:316)
at com.ibm.team.repository.service.internal.dataaccess.DeleteItemRows.validateResult(DeleteItemRows.java:94)
at com.ibm.team.repository.service.internal.dataaccess.BatchingRowReceiver.simulatedBatch(BatchingRowReceiver.java:400)
at com.ibm.team.repository.service.internal.dataaccess.BatchingRowReceiver.executeBatch(BatchingRowReceiver.java:277)
at com.ibm.team.repository.service.internal.dataaccess.BatchingRowReceiver.execute(BatchingRowReceiver.java:204)
at com.ibm.team.repository.service.internal.dataaccess.IRowReceiver$IRowReceiverLocator.executePendingChanges(IRowReceiver.java:143)
at com.ibm.team.repository.service.internal.dataaccess.IRowReceiver$IRowReceiverLocator.executePendingChanges(IRowReceiver.java:121)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.preCommitNotify(RdbRepositoryDataMediator.java:1791)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$WriteExclusiveTransaction.completeTransaction(RepositoryDatabase.java:710)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.finishTransaction(RepositoryDatabase.java:535)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:323)
... 45 more

2 answers



permanent link
Don Yang (7.7k21114139) | answered Apr 29 '15, 2:37 a.m.
what version of RTC are you using? if it is not 4.0.6 or later, I think you are hitting the known defect:

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=289994

which is addressed in v4.0.6 and onwards.

Comments
Shuchita Tripathi commented Apr 29 '15, 2:39 a.m.

Hi Don,


I am using RTC 5.0.
DO you have any idea why this is still coming up?


Don Yang commented Apr 29 '15, 5:51 p.m.

I dont see any similar defect in v5.x. Not sure if the environment was upgraded from the old version(such as the version prior to v4.06) which could carry over the problematic workitem(in which the parent/child workitem was deleted but the link is remained in another workitem).
If it is a new environment, then you may contact client support team to get it further investigated as the problem in v4.x was a defect.


permanent link
Carlos Isacovich (59114) | answered Jan 25 '21, 2:01 p.m.
edited Jan 25 '21, 2:06 p.m.
I'm working with 6.0.2 version and I'm finding the same error. Moreover, the parent work item still showis thoes deleted items as children

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.