error message in jira log after execution a SIL program

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

This widget could not be displayed.

@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.

This widget could not be displayed.

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.

This widget could not be displayed.

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.

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

49 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you