1

Resolved

Exception on Nick Completion

description

Date and Time: 6/13/2009 12:03:45 AM
Machine Name: NTS-COMPAQ-1
IP Address: 192.168.0.10
Current User: NASUTEK\michael.manley
 
Application Domain: NasuTek.Shion.exe
Assembly Codebase: file:///C:/Documents and Settings/michael.manley.NASUTEK/Desktop/Debug/NasuTek.Shion.exe
Assembly Full Name: NasuTek.Shion, Version=6.0.0.37724, Culture=neutral, PublicKeyToken=null
Assembly Version: 6.0.0.37724
Assembly Build Date: 6/12/2009 9:57:34 PM
 
Exception Source: NasuTek.Shion
Exception Type: System.NullReferenceException
Exception Message: Object reference not set to an instance of an object.
Exception Target Site: completeNickToolStripMenuItem_Click
 
---- Stack Trace ----
NasuTek.Shion.Form1.completeNickToolStripMenuItem_Click(sender As Object, e As EventArgs)
   Form1.cs: line 0328, col 13, IL 0061
System.Windows.Forms.ToolStripItem.RaiseEvent(key As Object, e As EventArgs)
   NasuTek.Shion.exe: N 3679731
System.Windows.Forms.ToolStripMenuItem.OnClick(e As EventArgs)
   NasuTek.Shion.exe: N 00080
System.Windows.Forms.ToolStripItem.HandleClick(e As EventArgs)
   NasuTek.Shion.exe: N 00198
System.Windows.Forms.ToolStripItem.FireEventInteractive(e As EventArgs, met As ToolStripItemEventType)
   NasuTek.Shion.exe: N 00168
System.Windows.Forms.ToolStripItem.FireEvent(e As EventArgs, met As ToolStripItemEventType)
   NasuTek.Shion.exe: N 00289
System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey(m As Message&, keyData As Keys)
   NasuTek.Shion.exe: N 00067
System.Windows.Forms.ToolStripManager.ProcessShortcut(m As Message&, shortcut As Keys)
   NasuTek.Shion.exe: N 00815
System.Windows.Forms.ToolStripManager.ProcessCmdKey(m As Message&, keyData As Keys)
   NasuTek.Shion.exe: N 00041
System.Windows.Forms.ContainerControl.ProcessCmdKey(msg As Message&, keyData As Keys)
   NasuTek.Shion.exe: N 00057
System.Windows.Forms.Form.ProcessCmdKey(msg As Message&, keyData As Keys)
   NasuTek.Shion.exe: N 00040
System.Windows.Forms.Control.ProcessCmdKey(msg As Message&, keyData As Keys)
   NasuTek.Shion.exe: N 00129
System.Windows.Forms.TextBoxBase.ProcessCmdKey(msg As Message&, keyData As Keys)
   NasuTek.Shion.exe: N 00223
System.Windows.Forms.Control.PreProcessMessage(msg As Message&)
   NasuTek.Shion.exe: N 00135
System.Windows.Forms.Control.PreProcessControlMessageInternal(target As Control, msg As Message&)
   NasuTek.Shion.exe: N 00262
System.Windows.Forms.ThreadContext.PreTranslateMessage(msg As MSG&)
   NasuTek.Shion.exe: N 00113

comments

Michael_Manley wrote Jun 13, 2009 at 8:45 AM

Fixed by catching the NullReferenceException. Reason this was caused is if the nick didn't exist it would throw a NullReferenceException.

wrote Feb 1, 2013 at 3:22 AM

wrote May 14, 2013 at 5:50 AM

wrote May 14, 2013 at 5:50 AM

wrote Jun 4, 2013 at 1:08 AM