Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
dvasseur
Partner - Creator III
Partner - Creator III

QMS v11: Issue with GetTaskStatuses

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 ?

18 Replies
Not applicable

Hi Stefan\David,

Any update on the bug??? Or is there any workaround to get the taskstatuses using QMS API??

Thanks in advance.

-Mithun

Anonymous
Not applicable

It look like it's listed in  beta QV 11.2 release as corrected :

bug 47503

GetTaskStatuses call in QMS API returns System.NullReferenceException

Not applicable

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

StefanBackstrand
Partner - Specialist
Partner - Specialist

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.

StefanBackstrand
Partner - Specialist
Partner - Specialist

Yes, the issue still seems to be apparent. I'll check the fix.

Not applicable

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

StefanBackstrand
Partner - Specialist
Partner - Specialist

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.

Not applicable

For the anyone else stumbling across this thread...I can confirm this is working in 11.2 IR, but not in 11.0 SR2.

Anonymous
Not applicable

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