Possible Duplicate:
What is a NullReferenceException in .NET?
Hi I have following line in my code that keeps giving me an error "Object not set to an instance of an object" I tried different things but nothing seems to shake it off. I will appreciate idea why it is doing that.
IEmailCallback cb=OperationContext.Current.Getchannel<IEmailCallback>