Subject: Error on Reconnect
Hi Guys!
I'm getting this error when the app try to reconnect:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Matrix.Xml.Xpnet.NamespaceStack.Init()
at Matrix.Xml.XmppStreamParser.Reset()
at Matrix.XmppStream.CleanupSession()
at Matrix.Xmpp.Client.XmppClient.CleanupSession()
at Matrix.XmppStream.socket_OnDisconnect(Object sender, EventArgs e)
at Matrix.Net.BaseSocket.FireOnDisconnect()
at Matrix.Net.ClientSocket.Disconnect()
at Matrix.Net.ClientSocket.Send(Byte[] bData)
at Matrix.XmppStream.SendData(String xml)
at Matrix.XmppStream.Send(String xml)
at Matrix.XmppStream.KeepAliveTick(Object state)
at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireQueuedTimerCompletion(Object state)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
I think it's a problem in the library(MatriX.2.0.0.21) but could be in my code?
The error it's been raised after made a Close() and then an Open().
Regards.
I'm getting this error when the app try to reconnect:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Matrix.Xml.Xpnet.NamespaceStack.Init()
at Matrix.Xml.XmppStreamParser.Reset()
at Matrix.XmppStream.CleanupSession()
at Matrix.Xmpp.Client.XmppClient.CleanupSession()
at Matrix.XmppStream.socket_OnDisconnect(Object sender, EventArgs e)
at Matrix.Net.BaseSocket.FireOnDisconnect()
at Matrix.Net.ClientSocket.Disconnect()
at Matrix.Net.ClientSocket.Send(Byte[] bData)
at Matrix.XmppStream.SendData(String xml)
at Matrix.XmppStream.Send(String xml)
at Matrix.XmppStream.KeepAliveTick(Object state)
at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireQueuedTimerCompletion(Object state)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
I think it's a problem in the library(MatriX.2.0.0.21) but could be in my code?
The error it's been raised after made a Close() and then an Open().
Regards.