Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I've a strange error while using GetTaskStatuses on a QV11 server.
The code:
TaskStatusFilter taskStatusFilter = new TaskStatusFilter();
taskStatusFilter.EnabledState = EnabledState.Enabled;
List<TaskStatus> taskStatuses = BackendClient.GetTaskStatuses(taskStatusFilter, TaskStatusScope.All);
Error:
Message: System.NullReferenceException: Object reference not set to an instance of an object.
I've also tried with the QMS API Client, same error
Any clue ?
Hi Stefan\David,
Any update on the bug??? Or is there any workaround to get the taskstatuses using QMS API??
Thanks in advance.
-Mithun
It look like it's listed in beta QV 11.2 release as corrected :
bug 47503
GetTaskStatuses call in QMS API returns System.NullReferenceException
Hi All,
I have hit the same bug doing testing for our 11.0 SR2 upgrade. I can see the release notes for 11.2 IR say this bug has been fixed. Have you upgraded and tested it yet? If so, did the 11.2 release introduce any more QMS API bugs you have noticed?
Thanks
I've heard rumours that this is not fixed, yes, but I haven't verified myself yet, so I can't say. I'll test it tonight and get back to you guys.
Yes, the issue still seems to be apparent. I'll check the fix.
Hi Stefan,
Do you mean that the bug still exists in 11.2 IR? Accorging to the release notes it has been fixed:
47503 GetTaskStatuses call in QMS API returns System.NullReferenceException
It definitely exists in 11.0 SR2 - that's where I'm hitting it.
Thanks
Graeme
This is what I'm trying to figure out. It is documented as fixed in SR2, but it isn't. It might be included in 11.20 IR though, but I'm trying to verify.
For the anyone else stumbling across this thread...I can confirm this is working in 11.2 IR, but not in 11.0 SR2.
Thank Graeme
I can confirm that the the issue is still in 11.00 SR2 11440, I'vs just got it.
(but it look like less frequent than in previous version).