How to solve Error invoking default value provider
Hi,
I am getting following error in my log file;
I have created custom attribute of type string and assigned default value for that custom attribute.
I want to use that custom attribute value for my plugin,will it effect on my plugin execution.
I am getting following error message:
Error invoking default value provider 'com.ibm.team.workitem.valueproviders.DEFAULT_VALUE_PROVIDER._lpDnkBHlEeW6RoYeYp0b2w'
java.lang.IllegalArgumentException: Default value provider configured but desired value not present in configuration (Work Item -1, Attribute 'CRNEW')
at com.ibm.team.workitem.common.internal.attributeValueProviders.CustomDefaultValueProvider.getDefaultValue(CustomDefaultValueProvider.java:25)
at com.ibm.team.workitem.common.internal.attributeValueProviders.CustomDefaultValueProvider.getDefaultValue(CustomDefaultValueProvider.java:1)
at com.ibm.team.workitem.common.internal.attributeValueProviders.AttributeValueProviderRegistry$SafeDefaultValueProvider.getDefaultValue(AttributeValueProviderRegistry.java:131)
at com.ibm.team.workitem.common.internal.model.impl.AttributeImpl.getDefaultValue(AttributeImpl.java:889)
at sun.reflect.GeneratedMethodAccessor59.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.common.internal.util.ItemStore$ItemInvocationHandler.invoke(ItemStore.java:597)
at com.sun.proxy.$Proxy28.getDefaultValue(Unknown Source)
at com.ibm.team.workitem.common.internal.WorkItemCommon.createWorkItem(WorkItemCommon.java:261)
at com.ibm.team.workitem.client.internal.WorkItemWorkingCopyRegistry.createNewUnconnected(WorkItemWorkingCopyRegistry.java:618)
at com.ibm.team.workitem.client.internal.WorkItemWorkingCopyRegistry.connectNew(WorkItemWorkingCopyRegistry.java:612)
at com.ibm.team.workitem.client.internal.WorkItemWorkingCopyManager.connectNew(WorkItemWorkingCopyManager.java:94)
at com.ibm.team.workitem.client.WorkItemOperation.run(WorkItemOperation.java:230)
at com.ibm.team.workitem.client.WorkItemOperation.run(WorkItemOperation.java:189)
at com.ibm.team.workitem.rcp.ui.internal.actions.NewWorkItemAction$2.runProtected(NewWorkItemAction.java:338)
at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.java:68)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Please,provide some suggestions how to solve this errror.
Comments
sam detweiler
Jun 15 '15, 7:17 a.m.can u show how you are using the field in your plugin?