Exception In Usage Policy Form


Exception occured when saving a usage policy with no times.
Date and Time: 6/12/2007 8:28:21 AM
Machine Name: TESTING-7928B45
IP Address:
Current User: TESTING-7928B45\Dad
Application Domain: Manager.exe
Assembly Codebase: file:///C:/Program Files/WaveTech/GShield/Manager.exe
Assembly Full Name: Manager, Version=, Culture=neutral, PublicKeyToken=null
Assembly Version:
Assembly Build Date: 6/11/2007 6:33:24 PM
Exception Source: Manager
Exception Type: System.NullReferenceException
Exception Message: Object reference not set to an instance of an object.
Exception Target Site: btnSave_Click
---- Stack Trace ----
WaveTech.GShield.Manager.UsagePolicies.btnSave_Click(sender As Object, e As EventArgs)
   Manager.exe: N 07707
System.Windows.Forms.Control.OnClick(e As EventArgs)
   Manager.exe: N 00086
System.Windows.Forms.Button.OnClick(e As EventArgs)
   Manager.exe: N 00072
System.Windows.Forms.Button.OnMouseUp(mevent As MouseEventArgs)
   Manager.exe: N 00194
System.Windows.Forms.Control.WmMouseUp(m As Message&, button As MouseButtons, clicks As Int32)
   Manager.exe: N 00241
System.Windows.Forms.Control.WndProc(m As Message&)
   Manager.exe: N 01347
System.Windows.Forms.ButtonBase.WndProc(m As Message&)
   Manager.exe: N 00205
System.Windows.Forms.Button.WndProc(m As Message&)
   Manager.exe: N 00042
System.Windows.Forms.ControlNativeWindow.OnMessage(m As Message&)
   Manager.exe: N 00012
System.Windows.Forms.ControlNativeWindow.WndProc(m As Message&)
   Manager.exe: N 00213
System.Windows.Forms.NativeWindow.Callback(hWnd As IntPtr, msg As Int32, wparam As IntPtr, lparam As IntPtr)
   Manager.exe: N 00116
Closed Jun 12, 2007 at 5:40 PM by Swift
The Logger.Write in Usage policy creation was using the combo box which was rebound to an array list before the logger was called. Changed to the policy objects username property instead.