It's all about the answers!

Ask a question

Valueset related error in ccm log


VK L (8177141159) | asked May 18 '12, 7:44 a.m.
Hi All,
I am getting this error in the ccm log - different WI Each time:


2012-05-02 17:50:23,105 ERROR com.ibm.team.workitem.common - Error invoking value set provider 'com.ibm.team.workitem.valueproviders.VALUE_SET_PROVIDER._NxJGIFcgEeG-r7LIjDB7WQ'
java.lang.IllegalArgumentException: The filter attribute or a dependency has to be configured for the FilteringValueSetProvider (Work Item 5966, Attribute 'SubType')
WARN ory.servlet.internal.ModelledRestServiceMethodInfo - CRJAZ1177I Unable to find matching method for $Proxy832, GET, workItem2
2012-05-02 17:46:52,636 ERROR com.ibm.team.workitem.common - Error invoking value set provider 'com.ibm.team.workitem.valueproviders.VALUE_SET_PROVIDER._NxJGIFcgEeG-r7LIjDB7WQ'
java.lang.IllegalArgumentException: The filter attribute or a dependency has to be configured for the FilteringValueSetProvider (Work Item -1, Attribute 'SubType')
at java.lang.Throwable.<init>(Throwable.java:67)
at com.ibm.team.workitem.common.internal.attributeValueProviders.FilteringValueSetProvider.getValueSet(FilteringValueSetProvider.java:40)
at com.ibm.team.workitem.common.internal.attributeValueProviders.AttributeValueProviderRegistry$SafeValueSetProvider.getValueSet(AttributeValueProviderRegistry.java:63)
at com.ibm.team.workitem.common.internal.model.impl.AttributeImpl.getValueSet(AttributeImpl.java:915)
at com.ibm.team.workitem.service.internal.rest.WorkItemRestService.getValues(WorkItemRestService.java:1414)
at com.ibm.team.workitem.service.internal.rest.WorkItemRestService.getAllValues(WorkItemRestService.java:1318)
at com.ibm.team.workitem.service.internal.rest.WorkItemRestService.getWorkItemEditableProperties(WorkItemRestService.java:1263)
at sun.reflect.GeneratedMethodAccessor559.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy832.getWorkItemEditableProperties(Unknown Source)
at sun.reflect.GeneratedMethodAccessor558.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:504)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1869)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1725)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1634)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3935)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
2012-05-02 17:49:12,589 ERROR com.ibm.team.workitem.common - Error invoking value set provider 'com.ibm.team.workitem.valueproviders.VALUE_SET_PROVIDER._NxJGIFcgEeG-r7LIjDB7WQ'
java.lang.IllegalArgumentException: The filter attribute or a dependency has to be configured for the FilteringValueSetProvider (Work Item -1, Attribute 'SubType')
at java.lang.Throwable.<init>(Throwable.java:67)
at com.ibm.team.workitem.common.internal.attributeValueProviders.FilteringValueSetProvider.getValueSet(FilteringValueSetProvider.java:40)
at com.ibm.team.workitem.common.internal.attributeValueProviders.AttributeValueProviderRegistry$SafeValueSetProvider.getValueSet(AttributeValueProviderRegistry.java:63)

and so on...

This causes an error at times - when the web page loads the plan or workitems for a long time..the configuration looks fine and we are able to save workitems.

What could be the cause of this error?

10 answers



permanent link
Ralph Schoon (60.5k33643) | answered May 22 '12, 3:20 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

please don't cross post.

I think the error indicates you customized the attribute "Attribute 'SubType'" and provided a value set provider and it is missing a dependency or filter attribute being set. If that is not true, this might be a defect and you should create a PMR or defect for the version you are using.

permanent link
VK L (8177141159) | answered May 22 '12, 7:09 a.m.
Hi Ralph,
recently we imported an MPP Plan with 3000 items. Plan takes a lot of time to load in the web client - it says "Loading additional data (4%) - in between we get a script error saying "a script is unresponsive on this page". But the ccm.log file contains only the previously mentioned valueset error and nothing related to plans. Could these be related?

I have mailed you the screenshot of the web page error.

Thanks.

permanent link
Ralph Schoon (60.5k33643) | answered May 22 '12, 7:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Well, importing a plan includes importing work items. Especially calculated value providers.
Loading a plan with filters would also potentially use the FilteringValueSetProvider that shows up in your error message.

The error message points to some built in code, so maybe you are running into a known problem.

https://jazz.net/search_results.jsp?q=FilteringValueSetProvider+#page=0&type=type%3DDocument-WorkItem&q=FilteringValueSetProvider%2B indicates some work in this area.

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=181440 shows the same error you see, but we did not receive enough data to debug it.

You might want to play with the filters you have enabled (be aware that certain plan types filter task work items by default if you don't disable it) and narrow it down if possible. Otherwise is this something that I would suggest creating a PMR or defect, except if you have created a custom valueset provider, in which case I would check that first.

permanent link
VK L (8177141159) | answered May 23 '12, 10:29 p.m.
Hi Ralph,
This valueset error was because of a wrongly configured dependent enumeration.i have solved this now and the error isnt there.

I have a release plan with 3000 items - imported from MPP. The plan view takes a long time to load - and at times it is struck saying "Loading Additional data" - in between, i get "script unresponsive error in the browser" - but there's no equivalent record in ccm.log.

Is this because of the large number of items? Is this a known problem in 3.0.1.1?

Thanks.

permanent link
Ralph Schoon (60.5k33643) | answered May 24 '12, 3:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

please see https://jazz.net/forums/viewtopic.php?t=22930 and Geoffs statement. If a plan has a lot of items to load, especially in the web, it needs to load a lot of data, so I assume this can happen. Performance is also dependent on the browser. Typically the latest version of a browser is fastest.

I have heard complaints about load times for big plans. We are looking into improving performance for the Web UI. However, the more data is needed the longer it will take in general. All the data needs to be processed in the browser.
I would suggest to try using filters etc. to reduce the number of items.

I opened https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.apt.viewPlan&page=com.ibm.team.apt.web.ui.plannedItems&id=_EAVjgZjrEeCGUsd9CqIfuw

which has 750 items and it took around a minute (a bit less) to load all data. You have more than 3 times as many items.

permanent link
VK L (8177141159) | answered May 24 '12, 4:53 a.m.
Thanks Ralph. Web UI performance issue is likely to cause errors as well? Have you come across users facing such errors (unresponsive script in IE and the error that i mailed you - in Mozilla)?

permanent link
Ralph Schoon (60.5k33643) | answered May 24 '12, 6:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I have, seldom, seen the Web UI stalled. I have seen script timeouts in the past too. With different browsers.
However, a lot of my work is against milestone builds and isolated test deployment scenarios (on my laptop). Even Jazz.net runs on milestone builds.

So, for me it is hard to judge how frequent this happens in released versions. If you see an issue, please create a work item.

permanent link
VK L (8177141159) | answered May 24 '12, 11:15 p.m.
Thanks Ralph. I will try adding default filters so that it picks up during the initial loading itself.
I have 1 more query - which i posted earlier. I have imported this plan from MPP - so it contains both past and future dates. RTC Scheduler takes import date as the base and estimates it from there on. So the actual details of plan do not reflect - My idea is to export the plan items, copy start-date values and then import it back. Will this solve the issue? - Scheduler takes planned start-date or start date as the starting point for the accumulated time?

Thanks.

permanent link
Ralph Schoon (60.5k33643) | answered May 25 '12, 2:35 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
With respect to planning, please consider reading

https://jazz.net/library/article/590
https://jazz.net/library/article/663
https://jazz.net/library/article/658
https://jazz.net/library/article/657
https://jazz.net/library/article/594
https://jazz.net/library/article/761

In 3.x planning does not support re-import of plans. You would get duplicate work items. You could try to use the CSV export/import with your idea.

Round-trip in planning is addressed in the next release as per the new&noteworthy.

Basically schedule and dates are calculated by the schedulers based on different rules including allocation, availability and assignment. At least for the traditional scheduler start- and end dates are set when creating a plan snapshot of certain types.

permanent link
VK L (8177141159) | answered May 25 '12, 5:34 a.m.
Thanks Ralph. My mention is also about export/import of workitems only.
Now, i am trying to define the planmode config for 1 plantype to test if it loads successfully with less number of items. I am trying with the milestone release roadmap and this is my config code:
<configuration>
<planmode>
<viewmode>
<groupmode>
<sortmode>
<filters>
<filter>
<filter>
</filters>
<columns>
<column>
<column>
<column>

</columns>

</planmode>
</configuration>

But, when the plan loads, it doesnt apply the defined filters automatically. How can we achieve this?

Your answer


Register or to post your answer.