Error invoking validator - com.ibm.team.workitem.valueproviders.VALIDATOR._WPftQIBqEeWJZe1YTWhytQ
![]()
Hi,
I am getting below exception messages in ccm logs and this makes the server performance very slow. 2016-03-01 14:26:30,318 [WebContainer : 3 @@ 14:26 soalagappan <com.ibm.team.workitem.newWorkItem/Save@e6e831a7-8797-4719-89f0-064f2597ace2> /ccm/service/com.ibm.team.workitem.common.internal.rest.IWorkItemRestService/workItem2] ERROR com.ibm.team.workitem.common - Error invoking validator com.ibm.team.workitem.valueproviders.VALIDATOR._WPftQIBqEeWJZe1YTWhytQ com.ibm.team.repository.common.TeamRepositoryException: Unexpected exception type at com.ibm.team.workitem.shared.common.internal.valueProviders.ScriptAttributeValueProvider.handleException(ScriptAttributeValueProvider.java:281) at com.ibm.team.workitem.shared.common.internal.valueProviders.ScriptAttributeValueProvider.validate(ScriptAttributeValueProvider.java:149) |
5 answers
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Mar 01 '16, 6:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As the log says, there is a JavaScript based validator that causes an error when being called. Not sure why and what, but you can use the process configuration source and search for
_WPftQIBqEeWJZe1YTWhytQThis should allow you to find the configuration in the process. |
![]()
What could be the issue with the first exception message with respect to validators script.
|
![]()
Hi Balamurugan,
The issue is related with the attributes passing in the dojo.date.difference() function. You should shift them and the one that can be NULL should be the second one as only the second one is optional. Right now targetfixdate when is NULL you will see this error message as this script will end on the line where you are calculating day difference: var Daydiff = dojo.date.difference(targetfixdate, currDate, "day"); More details about this function you will find here: dojotoolkit guide Please notice that: // Returns the difference in the specified interval date.difference(date1, date2, "week"); where:
|
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.