Subject: XML Parser Exception : Collection was modified; enumeration operation may not execute.
Hi , I'm getting this exception.
The exception occurs when trying to parse this message:
<presence xmlns="jabber:client" from="4058a2d2-1eba-4f65-b00e-83000024882f@msn.jabber.belnet.be/YYYY@msn.com" to="XXXX@jabber.belnet.be/LiveExpertsBOT" type="unavailable" />
I'm no sure what additional information could be usefull to debug this bug.
Type : System.InvalidOperationException
Message: Collection was modified; enumeration operation may not execute.
Source: mscorlib
TargetSite: Boolean MoveNext()
StackTrace:
at System.Collections.Hashtable.HashtableEnumerator.MoveNext()
at agsXMPP.PresenceGrabber.m_connection_OnPresence(Object sender, Presence pres) in \\Alex\eigene dateien\Visual Studio 2005\Projects\agsxmpp_Net2.0\agsxmpp\PresenceGrabber.cs:line 98
at agsXMPP.XmppClientConnection.PresenceHandler.Invoke(Object sender, Presence pres)
at agsXMPP.XmppClientConnection.StreamParserOnStreamElement(Object sender, Node e) in \\Alex\eigene dateien\Visual Studio 2005\Projects\agsxmpp_Net2.0\agsxmpp\XmppClientConnection.cs:line 1116
at agsXMPP.StreamHandler.Invoke(Object sender, Node e)
at agsXMPP.StreamParser.EndTag(Byte[] buf, Int32 offset, ContentToken ct, TOK tok) in \\Alex\eigene dateien\Visual Studio 2005\Projects\agsxmpp_Net2.0\agsxmpp\StreamParser.cs:line 329
at agsXMPP.StreamParser.Push(Byte[] buf, Int32 offset, Int32 length) in \\Alex\eigene dateien\Visual Studio 2005\Projects\agsxmpp_Net2.0\agsxmpp\StreamParser.cs:line 126
The exception occurs when trying to parse this message:
<presence xmlns="jabber:client" from="4058a2d2-1eba-4f65-b00e-83000024882f@msn.jabber.belnet.be/YYYY@msn.com" to="XXXX@jabber.belnet.be/LiveExpertsBOT" type="unavailable" />
I'm no sure what additional information could be usefull to debug this bug.
Type : System.InvalidOperationException
Message: Collection was modified; enumeration operation may not execute.
Source: mscorlib
TargetSite: Boolean MoveNext()
StackTrace:
at System.Collections.Hashtable.HashtableEnumerator.MoveNext()
at agsXMPP.PresenceGrabber.m_connection_OnPresence(Object sender, Presence pres) in \\Alex\eigene dateien\Visual Studio 2005\Projects\agsxmpp_Net2.0\agsxmpp\PresenceGrabber.cs:line 98
at agsXMPP.XmppClientConnection.PresenceHandler.Invoke(Object sender, Presence pres)
at agsXMPP.XmppClientConnection.StreamParserOnStreamElement(Object sender, Node e) in \\Alex\eigene dateien\Visual Studio 2005\Projects\agsxmpp_Net2.0\agsxmpp\XmppClientConnection.cs:line 1116
at agsXMPP.StreamHandler.Invoke(Object sender, Node e)
at agsXMPP.StreamParser.EndTag(Byte[] buf, Int32 offset, ContentToken ct, TOK tok) in \\Alex\eigene dateien\Visual Studio 2005\Projects\agsxmpp_Net2.0\agsxmpp\StreamParser.cs:line 329
at agsXMPP.StreamParser.Push(Byte[] buf, Int32 offset, Int32 length) in \\Alex\eigene dateien\Visual Studio 2005\Projects\agsxmpp_Net2.0\agsxmpp\StreamParser.cs:line 126