Subject: KeepAliveTimer generates Exception if connection not open
If XmppClientConnection.Open() is called, the KeepAliveTimer is started before the connection is actually open. This is a problem if there is currently no connection to the internet, or connecting to the Jabber server takes more longer than the keep alive intervall.
System.NullReferenceException was unhandled
Message="NullReferenceException"
StackTrace:
bei agsXMPP.net.ClientSocket.Send()
bei agsXMPP.net.ClientSocket.Send()
bei agsXMPP.XmppConnection.Send()
bei agsXMPP.XmppClientConnection.KeepAliveTick()
bei System.Threading.Timer.ring()
I'm using the latest agsXMPP for .NET Compact 2.0 from SVN.
System.NullReferenceException was unhandled
Message="NullReferenceException"
StackTrace:
bei agsXMPP.net.ClientSocket.Send()
bei agsXMPP.net.ClientSocket.Send()
bei agsXMPP.XmppConnection.Send()
bei agsXMPP.XmppClientConnection.KeepAliveTick()
bei System.Threading.Timer.ring()
I'm using the latest agsXMPP for .NET Compact 2.0 from SVN.