[closed] what can cause 'CRJAZ0215I The following record was not found in the database: com.ibm.team.workitem.common.internal.model.impl.AttributeHandleImp'?
Stefania Axo (126●2●15●13)
| asked Sep 19 '12, 11:48 p.m.
closed Sep 28 '20, 9:45 a.m. by Ralph Schoon (63.6k●3●36●46)
hi
I got the following excetion during the query of work item. what can cause the error? Here is the stack trace: CRJAZ0215I The following record was not found in the database: com.ibm.team.workitem.common.internal.model.impl.AttributeHandleImpl@57fa57fa (stateId: <unset>, itemId: [UUID _6ox6QLRKEeGK-YkkxnC6jQ], origin: null, immutable: <unset>) com.ibm.team.repository.common.ItemNotFoundException: CRJAZ0215I The following record was not found in the database: com.ibm.team.workitem.common.internal.model.impl.AttributeHandleImpl@57fa57fa (stateId: <unset>, itemId: [UUID _6ox6QLRKEeGK-YkkxnC6jQ], origin: null, immutable: <unset>) com.ibm.team.repository.service.internal.RepositoryItemService.doFetchItem(RepositoryItemService.java:534) com.ibm.team.repository.service.internal.RepositoryItemService.access$4(RepositoryItemService.java:527) com.ibm.team.repository.service.internal.RepositoryItemService$4.run(RepositoryItemService.java:507) com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:458) com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:285) com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:379) sun.reflect.GeneratedMethodAccessor86.invoke(null) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:618) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) $Proxy61.withCurrentConnection(null) com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:281) com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:236) com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:119) sun.reflect.GeneratedMethodAccessor170.invoke(null) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:618) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) $Proxy98.runInTransaction(null) com.ibm.team.repository.service.internal.RepositoryItemService.fetchItem(RepositoryItemService.java:505) sun.reflect.GeneratedMethodAccessor175.invoke(null) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:618) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) $Proxy140.fetchItem(null) com.ibm.team.repository.service.internal.ComponentRepositoryItemService.fetchItem(ComponentRepositoryItemService.java:489) com.ibm.team.workitem.service.internal.AuditableServer.resolveAuditable(AuditableServer.java:97) com.ibm.team.workitem.common.internal.EnumerationManager.resolve(EnumerationManager.java:172) com.ibm.team.workitem.common.internal.WorkItemCommon.resolveEnumeration(WorkItemCommon.java:454) com.ibm.team.workitem.common.internal.model.EnumerationAttributeType.getNullValue(EnumerationAttributeType.java:41) com.ibm.team.workitem.common.internal.model.impl.AttributeImpl.getNullValue(AttributeImpl.java:874) com.ibm.team.workitem.common.internal.expression.WorkItemQueryAttributeFactory.getNullValue(WorkItemQueryAttributeFactory.java:265) com.ibm.team.workitem.common.internal.expression.WorkItemQueryAttributeFactory.findNonLinkAttributes(WorkItemQueryAttributeFactory.java:229) com.ibm.team.workitem.common.internal.expression.WorkItemQueryAttributeFactory.updateCache(WorkItemQueryAttributeFactory.java:167) com.ibm.team.workitem.common.internal.util.CacheHelper.internalCheckCache(CacheHelper.java:131) com.ibm.team.workitem.common.internal.util.CacheHelper.checkCache(CacheHelper.java:81) com.ibm.team.workitem.common.internal.expression.WorkItemQueryAttributeFactory.findAttribute(WorkItemQueryAttributeFactory.java:132) com.ibm.team.workitem.common.expression.AttributeExpression.getAttribute(AttributeExpression.java:84) com.ibm.team.workitem.service.internal.query.ASTTransformer.visit(ASTTransformer.java:264) com.ibm.team.workitem.common.expression.AttributeExpression.accept(AttributeExpression.java:126) com.ibm.team.workitem.service.internal.query.ASTTransformer.visit(ASTTransformer.java:250) com.ibm.team.workitem.common.expression.Term.accept(Term.java:143) com.ibm.team.workitem.service.internal.query.ASTTransformer.transform(ASTTransformer.java:189) com.ibm.team.workitem.service.internal.query.QueryRepositoryService.fetchQueryResults(QueryRepositoryService.java:182) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:618) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) $Proxy711.fetchQueryResults(null) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:618) com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleMethod(AbstractTeamServerServlet.java:1285) com.ibm.team.repository.servlet.AbstractTeamServerServlet.executeMethod(AbstractTeamServerServlet.java:882) com.ibm.team.repository.servlet.AbstractTeamServerServlet.doPost(AbstractTeamServerServlet.java:672) javax.servlet.http.HttpServlet.service(HttpServlet.java:647) com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1871) com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1725) com.ibm.team.repository.servlet.AbstractTeamServerServlet.access$0(AbstractTeamServerServlet.java:1710) com.ibm.team.repository.servlet.AbstractTeamServerServlet$1.service(AbstractTeamServerServlet.java:198) com.ibm.team.repository.internal.service.auth.impl.JAuthHandler.handleRequest(JAuthHandler.java:95) sun.reflect.GeneratedMethodAccessor382.invoke(null) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:618) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356) org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) $Proxy144.handleRequest(null) com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1578) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120) com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:76) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) java.lang.Thread.run(Thread.java:811) com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:326) com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:296) com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeFault(MarshallerUtil.java:261) com.ibm.team.repository.transport.client.RemoteTeamService.constructExceptionFromFault(RemoteTeamService.java:622) com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:497) com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:202) com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43) $Proxy37.fetchQueryResults(Unknown Source) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:618) com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:164) com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:88) $Proxy37.fetchQueryResults(Unknown Source) com.ibm.team.workitem.common.internal.query.QueryCommon$3.run(QueryCommon.java:155) com.ibm.team.workitem.common.internal.query.QueryCommon$3.run(QueryCommon.java:1) com.ibm.team.workitem.client.internal.ClientServiceContext$1.run(ClientServiceContext.java:41) com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1261) com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79) com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1254) com.ibm.team.workitem.client.internal.ClientServiceContext.callCancelableService(ClientServiceContext.java:45) com.ibm.team.workitem.common.internal.query.QueryCommon.fetchQueryResults(QueryCommon.java:152) com.ibm.team.workitem.common.internal.query.QueryResultIterator.fetchFirstPage(QueryResultIterator.java:151) com.ibm.team.workitem.common.internal.query.QueryResultIterator.update(QueryResultIterator.java:129) com.ibm.team.workitem.common.internal.query.QueryResultIterator.getResultSize(QueryResultIterator.java:113) com.ibm.team.workitem.common.internal.query.ResolvingQueryResultIterator.getResultSize(ResolvingQueryResultIterator.java:111) |
The question has been closed for the following reason: "Problem is not reproducible or outdated" by rschoon Sep 28 '20, 9:45 a.m.
6 answers
A somewhat similar issue was reported in https://jazzdev.torolab.ibm.com:9443/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=175595. I'm wondering if work item A is being returned in the query, and one of the attributes work item A previously used has been deleted.
|
hi Lauren thank you for your reply. I ead the defect that you reported and if i understood correctly that was due to broken links in the work items (because deleted). i don'y belive this was my problem. what happen is that i just added a new work item item type with a bunch of setting: attributes/ editors/.. I then run a query fitered by the work item type that i just created. I know the query is not going to return any work items but i don't understand why it complains about a missing attribute since i just created the whole thing. I can not reproduce this systematically. So i was wondering what can be the cause of such an error. thanks Stefania |
I played around with adding custom attributes and I'm not sure what could have caused this. Sorry! Maybe someone else will have an idea.
|
ok. thanks for your help. I guess i have to try to monitor closely the problem whenever it occurs again |
My installation of RTC 4.0.4 has also been showing somewhat the same error ever since i upgraded from 4.0.3 when trying to view the plan from the Web client (Eclipse still works):
Error - TeamRepositoryException: CRJAZ0215E The following record was not found in the database: com.ibm.team.workitem.common.internal.model.impl.AttributeHandleImpl@4aba4aba (stateId: null, itemId: [UUID _ItK-EFrUEeOKUeFf0cxjSA], origin: , immutable: ) com.ibm.team.repository.service.internal.RepositoryItemService.doFetchItem(RepositoryItemService.java:544) com.ibm.team.repository.service.internal.RepositoryItemService.access$4(RepositoryItemService.java:537) com.ibm.team.repository.service.internal.RepositoryItemService$4.run(RepositoryItemService.java:517) com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:498) com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:322) < cut ...> |