Open GoogleCodeExporter opened 9 years ago
I am having a similar recurring problem.
I get the following error occasionally when attached to the debugger:
The one attched to the debugger threw this exception:
System.NullReferenceException' occurred in jabber-net.dll
Additional information: Object reference not set to an instance of an object.
Unfortunately, no stack trace or further information.
Interestingly, this error always happens when there is a network problem. For
example
in this case, it was after I resumed from Windows XP hibernation (and for a
brief
period after resuming the network isn't quite ready).
However, I've tried to reproduce (disabling network card, pulling out network
cable
etc), but no joy.
I'm using jabber-net.dll 2.1.0.710.
John Wood
Original comment by jdmw...@gmail.com
on 12 Jun 2009 at 9:33
See also Issue 63
Original comment by jdmw...@gmail.com
on 12 Jun 2009 at 10:04
In head, there are asserts in HTTPStanzaStream.ISocketEventListener.OnRead, but
it looks like what is happening
is that OnClose is firing before OnRead. Can you try putting this line at the
top of HTTPStanzaStream.ISocketEventListener.OnRead, and seeing if it fixes
your problem?
if ((m_listener == null) || (m_elements == null))
return false;
Original comment by hil...@gmail.com
on 12 Jun 2009 at 3:37
Hi,
I've applied this fix as described (from head source code). I'm pleased to say I
haven't seen the error at all in about 2 weeks (and that's with a LOT of
testing).
Sounds like that fixed it.
John
Original comment by jdmw...@gmail.com
on 12 Jul 2009 at 4:34
Original issue reported on code.google.com by
ZiadSall...@gmail.com
on 23 May 2009 at 12:24