Open Session throws Object reference not set to an instance of an object.

Dec 19, 2014 at 7:22 AM
Edited Dec 19, 2014 at 7:40 AM
Hi,
I have created a WPFSearch Control. On button click I am trying to open a session bye passing customerentity and callrefId as null.

It throws error saying Object reference not set to an instance of an object.
I can see that this.desktopAccess is null.

Can anybody suggest me on this.
Thank you
Sreeni