It's all about the answers!

Ask a question

Getting An internal error occurred during: "Resolving query descriptor" only from the P2 Integration.


J D (111) | asked Jun 04 '15, 11:26 a.m.

Yesterday users started reporting issues ONLY with the P2 Integration using RTC with Eclipse Luna. 

 An internal error occurred during: "Resolving query descriptor".

Here is the Exception Stack Trace:

java.lang.NoClassDefFoundError: Could not initialize class com.ibm.team.workitem.common.model.AttributeTypes
 at com.ibm.team.workitem.common.internal.expression.AttributeValueFactory$ConstantValue.init(AttributeValueFactory.java:45)
 at com.ibm.team.workitem.common.expression.AttributeExpression.createValueProxy(AttributeExpression.java:170)
 at com.ibm.team.workitem.common.expression.AttributeExpression.init(AttributeExpression.java:153)
 at com.ibm.team.workitem.common.expression.Term.init(Term.java:197)
 at com.ibm.team.workitem.common.expression.Term.init(Term.java:197)
 at com.ibm.team.workitem.common.expression.Term.init(Term.java:197)
 at com.ibm.team.workitem.common.expression.Statement.init(Statement.java:125)
 at com.ibm.team.workitem.common.internal.expression.XMLExpressionSerializer.handleQuery(XMLExpressionSerializer.java:223)
 at com.ibm.team.workitem.common.internal.expression.XMLExpressionSerializer.deserialize(XMLExpressionSerializer.java:97)
 at com.ibm.team.workitem.common.internal.expression.XMLExpressionSerializer.deserialize(XMLExpressionSerializer.java:51)
 at com.ibm.team.workitem.common.internal.query.impl.QueryDescriptorCustomImpl.getExpression(QueryDescriptorCustomImpl.java:46)
 at com.ibm.team.workitem.common.internal.query.impl.QueryDescriptorCustomImpl.getParameterVariables(QueryDescriptorCustomImpl.java:98)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at com.ibm.team.repository.common.internal.util.ItemStore$ItemInvocationHandler.invoke(ItemStore.java:597)
 at com.sun.proxy.$Proxy63.getParameterVariables(Unknown Source)
 at com.ibm.team.workitem.rcp.ui.internal.explorer.view.AbstractWorkItemExplorer$3.runInBackground(AbstractWorkItemExplorer.java:441)
 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)

We are running 5.0.2 and I have validated that the P2 plugin is indeed at this version. We have recently added a couple of new attributes which are needed and appear to not work with the P2 Integration since we do not have any issues with the RTC Eclipse client or via the web when running any of the default queries. 

The error messages are received when running any of the queries from the Luna Eclipse client.  A separate error is encountered when trying to associate a Work Item with a change set -

An internal error occurred during: "Refreshing information provider". But see the same exception start off the Exception stack trace with - java.lang.NoClassDefFoundError: Could not initialize class com.ibm.team.workitem.common.model.AttributeTypes.

Came across a similar issue in the forum but was related to a version mismatch which is not the case here so creating separate post for this.  Will create support ticket if needed.

Be the first one to answer this question!


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.