It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
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@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much! I modified the code in your own way. The error message is not really there
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.