error message in jira log after execution a SIL program

colincy November 22, 2016

I have written a program in the workflow Post-Funtion, This program is also able to perform correctly. But after each execution of the program, there is some error messages in the log of the JIRA system log.

I don't know what it means, and what the reason is. 

 

The following is the error message in the log 

2016-11-15 09:27:28,941 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.customfields.origin.VpOriginManagerImpl] Invalid stored origin value 1d 2h

2016-11-15 09:27:28,941 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.customfields.origin.VpOriginManagerImpl] Invalid stored origin value true

2016-11-15 09:27:28,941 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.customfields.origin.VpOriginManagerImpl] Invalid stored origin value 12345

2016-11-15 09:27:28,941 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.customfields.origin.VpOriginManagerImpl] Invalid stored origin value 2016/11/15

2016-11-15 09:27:28,941 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.customfields.origin.VpOriginManagerImpl] Invalid stored origin value 2016/11/15 9:27 上午

2016-11-15 09:27:28,972 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.sla.customfield.SLAValueSerializer] Error deserializing SLA value: Can not instantiate value of type [simple type, class com.atlassian.servicedesk.internal.sla.model.SLAValue] from JSON integral number; no single-int-arg constructor/factory method, '1d 2h'

2016-11-15 09:27:28,972 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.sla.customfield.SLAValueSerializer] Error deserializing SLA value: Can not instantiate value of type [simple type, class com.atlassian.servicedesk.internal.sla.model.SLAValue] from JSON boolean value; no single-boolean/Boolean-arg constructor/factory method, 'true'

2016-11-15 09:27:28,972 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.sla.customfield.SLAValueSerializer] Error deserializing SLA value: Can not instantiate value of type [simple type, class com.atlassian.servicedesk.internal.sla.model.SLAValue] from JSON integral number; no single-int-arg constructor/factory method, '12345'

2016-11-15 09:27:28,972 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.sla.customfield.SLAValueSerializer] Error deserializing SLA value: Can not instantiate value of type [simple type, class com.atlassian.servicedesk.internal.sla.model.SLAValue] from JSON integral number; no single-int-arg constructor/factory method, '2016/11/15'

2016-11-15 09:27:28,972 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.sla.customfield.SLAValueSerializer] Error deserializing SLA value: Can not instantiate value of type [simple type, class com.atlassian.servicedesk.internal.sla.model.SLAValue] from JSON integral number; no single-int-arg constructor/factory method, '2016/11/15 9:27 上午'

2016-11-15 09:27:28,972 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.sla.customfield.SLAValueSerializer] Error deserializing SLA value: Can not instantiate value of type [simple type, class com.atlassian.servicedesk.internal.sla.model.SLAValue] from JSON integral number; no single-int-arg constructor/factory method, '1d 2h'

2016-11-15 09:27:28,972 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.sla.customfield.SLAValueSerializer] Error deserializing SLA value: Can not instantiate value of type [simple type, class com.atlassian.servicedesk.internal.sla.model.SLAValue] from JSON boolean value; no single-boolean/Boolean-arg constructor/factory method, 'true'

2016-11-15 09:27:28,972 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.sla.customfield.SLAValueSerializer] Error deserializing SLA value: Can not instantiate value of type [simple type, class com.atlassian.servicedesk.internal.sla.model.SLAValue] from JSON integral number; no single-int-arg constructor/factory method, '12345'

2016-11-15 09:27:28,972 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.sla.customfield.SLAValueSerializer] Error deserializing SLA value: Can not instantiate value of type [simple type, class com.atlassian.servicedesk.internal.sla.model.SLAValue] from JSON integral number; no single-int-arg constructor/factory method, '2016/11/15'

2016-11-15 09:27:28,972 http-nio-8080-exec-17 ERROR john 567x116454x1 ugmum9 172.16.135.222 /secure/QuickCreateIssue.jspa [c.a.s.i.sla.customfield.SLAValueSerializer] Error deserializing SLA value: Can not instantiate value of type [simple type, class

4 answers

0 votes
colincy January 10, 2017

Thank you very much! I modified the code in your own way. The error message is not really there

0 votes
dgustafsonBMCM January 5, 2017

Colincy - Thank you for getting back to me.  I actually did identify and resolve my own issue.  When it comes to the "Error deserializing SLA value: Can not instantiate value of type...." error message, I found that I had an SIL script custom field which was attempting to access a custom field in a bad way.

The first line used getissuefields() to get all fields for a particular issue and insert them into a string array, then the second line accesses one of the fields by ID.  I think there was a problem casting the value from some of the fields into a String[] array.  I solved by using the issuekey as a variable and accessing the fieldID directly from the issue as in the below snippet.

 

for(string i in keys){
//old code:  string[] fields = getIssueFields(i);
//old code:  val = fields["customfield_#####"];
//new code:  val = %i%.customfield_#####;
}

Not sure if this is relevant to your case, but hope this helps.

0 votes
colincy January 4, 2017

My program and custom fields can be executed correctly, in addition to the error messages in log, the wrong information has been bothering me for a long time,If you make any progress, please let me know,thanks.

0 votes
dgustafsonBMCM January 4, 2017

@Colincy I am experiencing the same issue, however I have a SIL custom field which is not functioning.  I'm going to open a case, but I was curious if you had found anything regarding this error.

Suggest an answer

Log in or Sign up to answer