xg exits cause of Unhandled Exception: System.ArgumentOutOfRangeException, Parameter name: startIndex
Strubbl opened this issue · 0 comments
Strubbl commented
Sometimes my XG session gets killed because of an ArgumentOutOfRangeException. Is it possible to catch that one?
Unhandled Exception:
System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: startIndex
at System.String.Substring (Int32 startIndex) [0x00000] in <filename unknown>:0
at Meebey.SmartIrc4net.IrcConnection._SimpleParser (System.Object sender, Meebey.SmartIrc4net.ReadLineEventArgs args) [0x00000] in <filename unknown>:0
at (wrapper delegate-invoke) <Module>:invoke_void_object_ReadLineEventArgs (object,Meebey.SmartIrc4net.ReadLineEventArgs)
at (wrapper delegate-invoke) <Module>:invoke_void_object_ReadLineEventArgs (object,Meebey.SmartIrc4net.ReadLineEventArgs)
at Meebey.SmartIrc4net.IrcConnection.ReadLine (Boolean blocking) [0x00000] in <filename unknown>:0
at Meebey.SmartIrc4net.IrcConnection.Listen (Boolean blocking) [0x00000] in <filename unknown>:0
at Meebey.SmartIrc4net.IrcConnection.Listen () [0x00000] in <filename unknown>:0
at XG.Plugin.Irc.XdccClient.Connect () [0x00000] in <filename unknown>:0
at XG.Plugin.Irc.IrcConnection.StartRun () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: startIndex
at System.String.Substring (Int32 startIndex) [0x00000] in <filename unknown>:0
at Meebey.SmartIrc4net.IrcConnection._SimpleParser (System.Object sender, Meebey.SmartIrc4net.ReadLineEventArgs args) [0x00000] in <filename unknown>:0
at (wrapper delegate-invoke) <Module>:invoke_void_object_ReadLineEventArgs (object,Meebey.SmartIrc4net.ReadLineEventArgs)
at (wrapper delegate-invoke) <Module>:invoke_void_object_ReadLineEventArgs (object,Meebey.SmartIrc4net.ReadLineEventArgs)
at Meebey.SmartIrc4net.IrcConnection.ReadLine (Boolean blocking) [0x00000] in <filename unknown>:0
at Meebey.SmartIrc4net.IrcConnection.Listen (Boolean blocking) [0x00000] in <filename unknown>:0
at Meebey.SmartIrc4net.IrcConnection.Listen () [0x00000] in <filename unknown>:0
at XG.Plugin.Irc.XdccClient.Connect () [0x00000] in <filename unknown>:0
at XG.Plugin.Irc.IrcConnection.StartRun () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
In case this exception occurs, XG does not exit in clean way so that the DB is saved.