[closed] What causes this exception on "check attribute usage" ?
com.ibm.team.repository.common.transport.ServiceMethodInvocationError: java.lang.UnsupportedOperationException
at com.ibm.team.repository.transport.client.RemoteTeamService.getAppropriateException(RemoteTeamService.java:634)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:506)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:194)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at com.sun.proxy.$Proxy39.count(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:164)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:88)
at com.sun.proxy.$Proxy39.count(Unknown Source)
at com.ibm.team.workitem.common.internal.query.QueryCommon$2.run(QueryCommon.java:141)
at com.ibm.team.workitem.common.internal.query.QueryCommon$2.run(QueryCommon.java:1)
at com.ibm.team.workitem.client.internal.ClientServiceContext$1.run(ClientServiceContext.java:41)
at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1287)
at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)
at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1280)
at com.ibm.team.workitem.client.internal.ClientServiceContext.callCancelableService(ClientServiceContext.java:45)
at com.ibm.team.workitem.common.internal.query.QueryCommon.countQueryResults(QueryCommon.java:128)
at com.ibm.team.workitem.common.internal.query.QueryCommon.countExpressionResults(QueryCommon.java:148)
at com.ibm.team.workitem.ide.ui.internal.aspecteditor.type.TypeAspectEditor$4.runInBackground(TypeAspectEditor.java:430)
at com.ibm.team.jface.internal.util.UIUpdateManager$BackgroundJob.runProtected(UIUpdateManager.java:58)
at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.java:68)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.UnsupportedOperationException
at com.ibm.team.workitem.common.internal.query.ExistsOperation.getPredicate(ExistsOperation.java:38)
at com.ibm.team.workitem.service.internal.query.ASTTransformer.createExpressionPredicate(ASTTransformer.java:469)
at com.ibm.team.workitem.service.internal.query.ASTTransformer.visit(ASTTransformer.java:360)
at com.ibm.team.workitem.common.expression.AttributeExpression.accept(AttributeExpression.java:136)
at com.ibm.team.workitem.service.internal.query.ASTTransformer.visit(ASTTransformer.java:313)
at com.ibm.team.workitem.common.expression.Term.accept(Term.java:163)
at com.ibm.team.workitem.service.internal.query.ASTTransformer.visit(ASTTransformer.java:313)
at com.ibm.team.workitem.common.expression.Term.accept(Term.java:163)
at com.ibm.team.workitem.service.internal.query.ASTTransformer.transform(ASTTransformer.java:252)
at com.ibm.team.workitem.service.internal.query.QueryRepositoryService.count(QueryRepositoryService.java:325)
at com.ibm.team.workitem.service.internal.query.QueryRepositoryService.count(QueryRepositoryService.java:321)
at sun.reflect.GeneratedMethodAccessor439.invoke(null)
The question has been closed for the following reason: "Issue being resolved via PMR" by millarde Jan 27 '14, 7:36 p.m.
3 answers
Comments
Eric, that is correct. Project Area configuration / work items / types and attributes ...
A zip file will come your way. The jts log is not in "debug", but the jazz log is (at least for the time it took to try the check attributes).
There is a possibly corresponding exception logged:
com.ibm.team.workitem.common.internal.IQueryRepositoryService] WARN .team.repository.servlet.AbstractTeamServerServlet - CRJAZ1163I UnsupportedOperationException processing POST request for com.ibm.team.workitem.common.internal.IQueryRepositoryService.count(). CRJAZ1170I The request was made by user "ramerk" com.ibm.team.workitem.service.internal.query.ASTTransformer.createExpressionPredicate(ASTTransformer.java:469)
at com.ibm.team.workitem.service.internal.query.ASTTransformer.visit(ASTTransformer.java:360)