kami13sep / jabber-net

Automatically exported from code.google.com/p/jabber-net
Other
0 stars 0 forks source link

problem re-connecting after disconnect #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. connect to gtalk (maybe other services too)
2. disable/enable internet connection
3. reconnect (using the same instance of the application)
4. send and/or receive an im

What is the expected output? What do you see instead?
Expect session to work as normal, instead I get various failures.  One I
caught specifically was in the XmppStream.Write, m_stanzas is null causing
a NullReferenceException.

What version of the product are you using? On what operating system?
Jabber-Net 1.0 Source Feb 15 4.7 MB 3452
Windows XP

Please provide any additional information below.
I tried recreating the object before reconnecting and still had the same
problem.  If I exit the app and re-run it seems connect and work as expected.

Original issue reported on code.google.com by duffy.a...@gmail.com on 2 Apr 2008 at 2:51

GoogleCodeExporter commented 8 years ago

Original comment by hil...@gmail.com on 9 Apr 2008 at 5:07

GoogleCodeExporter commented 8 years ago
Update since I submitted this.  When I do not create a new instance of the 
object, I
receive duplicate ims after reconnecting.  If I get disconnected and reconnect 
twice,
I will get an im 3 times when someone sends it.

Original comment by duffy.a...@gmail.com on 9 Apr 2008 at 6:44

GoogleCodeExporter commented 8 years ago
For the latter problem, are you sure you aren't adding a new OnMessage handler 
in
your OnConnect or OnAuthenticate callback?

Original comment by hil...@gmail.com on 17 Apr 2008 at 3:45

GoogleCodeExporter commented 8 years ago
For the former problem, I can't recreate using the current version of the 
Example. 
It may be that the OnError cache cleaning code I put in over the last couple of 
weeks
has fixed this.

I'll leave this issue open for a few days.  If you can still recreate with the 
head
of subversion, please post a stack trace of the NullReferenceException.

Original comment by hil...@gmail.com on 17 Apr 2008 at 3:57

GoogleCodeExporter commented 8 years ago
Bump.

Any comments?  Will close tomorrow if not.

Original comment by hil...@gmail.com on 11 Jun 2008 at 11:39

GoogleCodeExporter commented 8 years ago
It has been working steady ever since.. not sure what the problem was now.  you 
can
close it, thanks. :D

Original comment by duffy.a...@gmail.com on 12 Jun 2008 at 12:00

GoogleCodeExporter commented 8 years ago

Original comment by hil...@gmail.com on 12 Jun 2008 at 12:24