Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

[closed] What causes this exception on "check attribute usage" ?

Trying to troubleshoot a project configuration relating to a custom work item.  I'd like to execute the "check attribute usage in repository" but after a couple of seconds a failure dialog appears and in the Error Log:

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)


0 votes


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

Permanent link
 Hello Kevin,
do you see any SQL query near the above msg in RTC server log (ccm.log) ?

What are your server and Eclipse Client versions?


Eric

0 votes

Comments

Server 4.0.3, client 4.0.3.  DB2 9.7.0.7  

I redid the try and the jazz log was not updated.  I could try DEBUG mode for the logging to see what comes out.


Permanent link
 Hello Kevin,
you confirm you're using the Eclipse Client PA editor to check attributes usage?
Please also send me both jts and ccm logs - zipped - eric_jodet@fr.ibm.com

Thanks
Eric

0 votes

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)


Permanent link
 after checking on this with Kevin,
I think it's better to open a PMR and provide him with a tracing JAR.
There is some [custom] attribute causing a problem here.

Thanks,
Eric

0 votes

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 22 '14, 12:24 p.m.

Question was seen: 5,429 times

Last updated: Jan 27 '14, 7:36 p.m.

Confirmation Cancel Confirm