persistent error in ccm logs
Hi,
I see following error consistently in the ccm log. It looks like every time the workitem is saved the error gets logged. I have a calculated value provider (with dependencies defined). When the dependent field changes, the value provider gets triggered and returns calculated value without any issue. However, all other times (when WI is changed and no change to dependent field), following error getting logged. Not sure why the value provider is getting triggered even if there is no change to dependent field. Thanks for your help!
2019-04-25 10:30:56,242 [WebContainer : 6 @@ 10:30
<com.ibm.team.workitem.newWorkItem@de747484-63ef-48d5-8452-9b93f665a9ce> /ccm/service/com.ibm.team.workitem.common.internal.rest.IWorkItemRestService/workItemDTO2] ERROR com.ibm.team.workitem.common - Error invoking value provider 'Outage Duration' associated with the attribute 'Outage Duration' in the project area with id '_GE1mYAytEea_MomVQeRYaQ'. You can link to the project area definition using a URL similar to https://thehostname:9443/jazz/process/project-areas/_GE1mYAytEea_MomVQeRYaQ, where the host name, port and jazz context are configured for your installation. Contact your project area administrator for assistance.
java.lang.ClassCastException: java.lang.String incompatible with java.lang.Number
at com.ibm.team.workitem.shared.common.internal.valueProviders.ScriptAttributeValueProvider.convert(ScriptAttributeValueProvider.java:218)
at com.ibm.team.workitem.shared.common.internal.valueProviders.ScriptAttributeValueProvider.getValue(ScriptAttributeValueProvider.java:72)
at com.ibm.team.workitem.common.internal.attributeValueProviders.AttributeValueProviderRegistry$SafeValueProvider.getValue(AttributeValueProvi
Accepted answer
- Open the project area with the ID '_GE1mYAytEea_MomVQeRYaQ' (read the error message).
- Get the name of that project area.
- Open the project aread administration view in the Eclipse client.
- Open the project area process configuration for work item
- Open the attribute customization
- Fix the 'Outage Duration' attribute customization - likely a calculated value.