Subject: iOS System.NullReferenceException: Object reference not set to an instance of an object
Hi Alex,
Periodically when resuming an iOS app and the library (version 2.0.0.17) tries to reconnect, this error is getting thrown:
System.NullReferenceException: Object reference not set to an instance of an object
It does not always occur, only every now and then.
Periodically when resuming an iOS app and the library (version 2.0.0.17) tries to reconnect, this error is getting thrown:
System.NullReferenceException: Object reference not set to an instance of an object
Matrix.XmppStream.Compress(byte[] bIn)
Matrix.XmppStream.SendData(string xml)
Matrix.XmppStream.Send(string xml)
Matrix.XmppStream.SendStreamFooter()
Matrix.XmppStream.Close()
Matrix.XmppStream.socket_OnError(object sender, ExceptionEventArgs e)
Matrix.Net.BaseSocket.FireOnError(Exception ex)
Matrix.Net.ClientSocket.EndSend(IAsyncResult ar)
System.Net.Sockets.SocketAsyncResult.<Complete>c__AnonStorey0.<>m__0(object _)
System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
System.Threading.ThreadPoolWorkQueue.Dispatch()
ObjCRuntime.Runtime.ThreadPoolDispatcher(Func<_> callback)
System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Matrix.XmppStream.SendData(string xml)
Matrix.XmppStream.Send(string xml)
Matrix.XmppStream.SendStreamFooter()
Matrix.XmppStream.Close()
Matrix.XmppStream.socket_OnError(object sender, ExceptionEventArgs e)
Matrix.Net.BaseSocket.FireOnError(Exception ex)
Matrix.Net.ClientSocket.EndSend(IAsyncResult ar)
System.Net.Sockets.SocketAsyncResult.<Complete>c__AnonStorey0.<>m__0(object _)
System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
System.Threading.ThreadPoolWorkQueue.Dispatch()
ObjCRuntime.Runtime.ThreadPoolDispatcher(Func<_> callback)
System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
It does not always occur, only every now and then.
This post was edited on 2016-10-18, 12:32 by Alex.