Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Object reference error from jiraClient.Issues.GetIssuesFromJqlAsync

Michelle Allen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 20, 2020

I am getting an Object reference error using jira.Issues.GetIssuesFromJqlAsync(filter.JQL, 1000). This was working Wednesday morning (2-19-2020, 9:53AM PST) and stopped working later in the day.  We are using Atlassian SDK v10.6.0. The error also occurs with V.12.0.0

at Atlassian.Jira.Remote.SingleObjectCustomFieldValueSerializer.FromJson(JToken json)
at Atlassian.Jira.Remote.RemoteIssueJsonConverter.<GetCustomFieldValuesFromObject>b__9_1(JProperty field)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at Atlassian.Jira.Remote.RemoteIssueJsonConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Atlassian.Jira.Remote.IssueService.<>c__DisplayClass20_0.<GetIssuesFromJqlAsync>b__2(JObject issueJson)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.SystemCore_EnumerableDebugView`1.get_Items()

 

 

2 answers

2 votes
Deleted user February 24, 2020

Same thing here. Was working fine until last week. 

Idan Har Even February 25, 2020

same thing

Idan Har Even February 26, 2020

Also, the data that does come back is incomplete. For example, issues come with Assignee NULL

0 votes
LacimaDaniel March 2, 2020

Switching to Atlassian.SDK v12.1.0-beta01 fixed this exact issue for me.

Deleted user March 2, 2020

Odd as that did not fix the problem for me.

LacimaDaniel March 2, 2020

Hmm - I'm not going to dig a lot further as my issue is solved, but this looked related and is why I decided to try the new version:

https://bitbucket.org/farmas/atlassian.net-sdk/issues/509/jirauser-api-v2-updated-for-gdpr-removing?_ga=2.247389831.2038327505.1583149662-966500858.1576053276#comment-56177069

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events