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

How to solve Error invoking default value provider

We have a RTC server which log has plenty of entries like this one:

2013-10-29 11:56:00,281 [jazz: AsynchronousTaskRunner-11 @@ 11:56] ERROR com.ibm.team.workitem.common                        - Error invoking default value provider 'com.ibm.team.workitem.valueproviders.DEFAULT_VALUE_PROVIDER._0mQwEGY0EeKwGvsbtge-Rw'
java.lang.IllegalArgumentException: Default iteration configured but value not present in configuration (Work Item -1, Attribute 'Planned For')
    at com.ibm.team.workitem.common.internal.attributeValueProviders.CustomDefaultIterationProvider.getDefaultValue(CustomDefaultIterationProvider.java:26)
    at com.ibm.team.workitem.common.internal.attributeValueProviders.CustomDefaultIterationProvider.getDefaultValue(CustomDefaultIterationProvider.java:1)
    at com.ibm.team.workitem.common.internal.attributeValueProviders.AttributeValueProviderRegistry$SafeDefaultValueProvider.getDefaultValue(AttributeValueProviderRegistry.java:112)
    at com.ibm.team.workitem.common.internal.model.impl.AttributeImpl.getDefaultValue(AttributeImpl.java:887)
    at com.ibm.team.workitem.common.internal.WorkItemCommon.createWorkItem(WorkItemCommon.java:236)
    at com.ibm.team.workitem.common.internal.WorkItemCommon.createWorkItem2(WorkItemCommon.java:205)

It's a RTC 4.03 server.

We have looked at the process configuration source and there's no mention of the string "_0mQwEGY0EeKwGvsbtge-Rw"

We'd like to resolve this because it fills the log and makes it difficult to identify real issues. Do you know what we should do ?

Many thanks

0 votes

Comments

Hi,

Did you solve this issue? I am seeing the same error now?
Can you please help to solve this issue in my environment.

Thanks,
Om


Accepted answer

Permanent link
I think this kind of error can be caused by attribute customization when the script defined is not working properly. Did you create a default value / calculated value etc. for a work item or something similar?

It might be worthwhile checking when the error started occurring in the log and then check the process configuration xml in history for a change that occurred at that time.

What changes did you make at the time the error started occurring in the log? Anything to do with iterations? Did you add or remove iterations?

If this is an urgent problem, it might be better to export your process configuration and raise PMR to have it investigated. Do you have any other symptoms of something broken in that project area?


Ralph Schoon selected this answer as the correct answer

0 votes


One other answer

Permanent link

I resolved this by deleting the default --calculated value

go to eclipse client --> connect to project area
open process configuration --> project configuration --> configuration data --> work items --> attribute customization --> default values there it mentioned default value where we are not using it.

It solved the problem. May be it is useful for others when they get this error.

0 votes

Comments

You could also have fixed the default value. Deletion however is also a way.

Your answer

Register or log in 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.

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
× 6,125
× 343
× 89

Question asked: Oct 31 '13, 7:07 a.m.

Question was seen: 7,745 times

Last updated: Jan 20 '17, 10:35 a.m.

Confirmation Cancel Confirm