#414

New

IRC Chat client crashing when submitting an empty line

Reported by David Schachtler on OCTGN · 24/07/2011 18:31:16

Assigned to:
jods
Priority:
Normal
Status:
New
Category:
None
Version:
0.9.*
Issue type:
Bug

When I mistakenly hit enter twice I got this exception and OCTGN crashed thereafter.

System.ArgumentException: The non-trailing parameter ’’ is invalid.
Parametername: value
bei IrcDotNet.IrcClient.CheckTrailingParameter(String value)
bei IrcDotNet.IrcClient.WriteMessage(IrcMessage message)
bei IrcDotNet.IrcClient.SendMessagePrivateMessage(IEnumerable`1 targets, String text)
bei IrcDotNet.IrcClient.SendPrivateMessage(IEnumerable`1 targetsNames, String text)
bei IrcDotNet.IrcLocalUser.SendMessage(IEnumerable`1 targets, String text, Encoding encoding)
bei IrcDotNet.IrcLocalUser.SendMessage(IEnumerable`1 targets, String text)
bei IrcDotNet.IrcLocalUser.SendMessage(IIrcMessageTarget target, String text)
bei Octgn.IRC.IrcWindow.InputKeyDown(Object sender, KeyEventArgs e) in C:\OCTGN FX\Octgn\IRC\IrcWindow.xaml.cs:Zeile 44.
bei System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
bei System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
bei System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
bei System.Windows.Input.InputManager.ProcessStagingArea()
bei System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
bei System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
bei System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
bei System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
bei System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
bei System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
bei System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
bei System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(MSG& msg, Boolean& handled)
bei System.Windows.Interop.HwndSource.WeakEventPreprocessMessage.OnPreprocessMessage(MSG& msg, Boolean& handled)
bei System.Windows.Interop.ThreadMessageEventHandler.Invoke(MSG& msg, Boolean& handled)
bei System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(MSG& msg)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
bei System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
bei System.Windows.Threading.Dispatcher.Run()
bei System.Windows.Application.RunDispatcher(Object ignore)
bei System.Windows.Application.RunInternal(Window window)
bei System.Windows.Application.Run(Window window)
bei System.Windows.Application.Run()
bei Octgn.OctgnApp.Main() in C:\OCTGN FX\Octgn\obj\Debug\App.g.cs:Zeile 0.

Attachments

No attachment has been uploaded, yet.


Loading comments...