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

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

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.

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.

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 Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

71 views 0 5
Read article

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