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.