Hi,I am getting NullReferenceException-> Hammock.WindowsPhone.dll!
Hammock.Silverlight.Compat.GzipHttpWebResponse.GetResponseStream() + 0x1c bytes
Full Stack trace is
at Hammock.Silverlight.Compat.GzipHttpWebResponse.GetResponseStream()
at Hammock.Web.WebQuery.GetAsyncResponseCallback(IAsyncResult asyncResult)
at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClassa.b__8
(Object state2)
at System.Threading.ThreadPool.WorkItem.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback
callback, Object state)
at System.Threading.ThreadPool.WorkItem.doWork(Object o)
at System.Threading.Timer.ring()
I am using rest client like this
var client = new RestClient
{
Authority = "https://api.twitter.com/oauth",
Credentials = credentials,
HasElevatedPermissions = true,
SilverlightAcceptEncodingHeader = "gzip",
DecompressionMethods = DecompressionMethods.GZip
};
I am not able to figure out the root cause of the problem.Can anybody help me on this