Hi,
The jira log is being continously spammed by this ERROR message
2018-05-04 14:21:55,789 ajp-nio-8109-exec-374 ERROR mbl 861x28126165x1 xxxxxx 172.16.225.yy /secure/CommentAssignIssue.jspa [c.k.s.lang.type.StringSILType] Cannot cast value >><< from string to double
2018-05-04 14:24:35,399 ajp-nio-8109-exec-386 ERROR skl 864x28126787x1 xxxxxx 172.16.223.xx /rest/api/2/issue/TCR-4120 [c.k.s.lang.type.StringSILType] Cannot cast value >><< from string to double
The error appears multiple times for different issues in different projects. I can't figure out which plugin is causing this, which fileds are responsible, where is the SIL script and why is it spamming the log? Does anyone give a * about exception handling anymore?
Please help me debug this .
Yep! Please use the SIL Manager to check the SIL script's code which might be using a cast on wrong types.
Thanks everyone.
Unfortuantely, the SIL scripts are ok, though it might be one of the scripted customfields. I will enable safe-mode in the next maintenance window and than enable each plugin with an eye on *jira.log's tail. That should help narrow it down.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Danyal, did you figure this out? The "Cannot cast value... from string to double..." error?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abraham,
I'm pretty sure the issue happens when SIL is trying to input some value or get some from a field which is in a different format than expected. If you can share the logs or script associated with the issue we could help probably!
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Micky,
The error is the same as the original post: "...[c.k.s.lang.type.StringSILType] Cannot cast value >><< from string to double"
The errors result whenever an issue(s) is displayed on a dashboard or when viewing the issue:
".../browse/PROJ-1111 [c.k.s.lang.type.StringSILType] Cannot cast value >><< from string to double"
One of these issues have several custom SIL fields and the error is not descriptive enough to show which SIL field is causing the error. Many of these SIL fields do something similar to the following:
date custDt1 = customfield_11111;
date custDt2 = customfield_22222;
interval i;
number n;
if (isNotNull(custDt1){
i = custDt1 - custDt2;
n = (number)i;
return round((n/3600000)/24,0);
}
else {
if (status == "Some Status") {
i = currentDate() - custDt2;
n = (number)i;
return round ((n/3600000)/24,0);
}
else {
return 0;
}
}
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is one of the Power Scripts plugins.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Danyal Iqbal @Abraham Sarmiento ,
I have the same exact issue right now. I have worked with CPrime with no luck, they are very helpful but are unsure the cause. If you were able to resolve this issue I would be very grateful for some guidance.
R,
Samantha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.