Hello, (formaly an e-mail to fred tera)
 I am a regular user of kotor tool and have been receiving the most absurd error messages (see below for ONE of the lot) and this particular one totally kills the project and makes it impossible to restore my previous work without a different error appearing and doesn't allow me to load of save that particular project. It can be most agitating but I'm sure that you can easily fix it. :smash: 
 
 P.S. With some more debugging, your KOTOR TOOL will become a jewel----great job! :king1: 
 
 
 Error is as follows:
 :sithk: 
 ----------------------------------------------------------------------------------------------------------------------------------------------------
 See the end of this message for details on invoking 
 just-in-time (JIT) debugging instead of this dialog box.
 
 ************** Exception Text **************
 System.NullReferenceException: Object reference not set to an instance of an object.
 at kotor_tool.clsGFF.WriteFile(String path, String filetype)
 at kotor_tool.frmModule_Editor.miSave_Click(Object sender, EventArgs e)
 at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
 at System.Windows.Forms.MenuItemData.Execute()
 at System.Windows.Forms.Command.Invoke()
 at System.Windows.Forms.Control.WmCommand(Message& m)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
 at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
 at System.Windows.Forms.Form.WndProc(Message& m)
 at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
 at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
 at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
 
 ************** Loaded Assemblies **************
 mscorlib
 Assembly Version: 1.0.5000.0
 Win32 Version: 1.1.4322.2032
 CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
 ----------------------------------------
 kotor_tool
 Assembly Version: 1.0.2210.16738
 Win32 Version: 1.0.2210.16738
 CodeBase: file:///C:/Program%20Files/Kotor%20Tool/kotor_tool.exe
 ----------------------------------------
 System.Windows.Forms
 Assembly Version: 1.0.5000.0
 Win32 Version: 1.1.4322.2032
 CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
 ----------------------------------------
 System
 Assembly Version: 1.0.5000.0
 Win32 Version: 1.1.4322.2032
 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
 ----------------------------------------
 System.Drawing
 Assembly Version: 1.0.5000.0
 Win32 Version: 1.1.4322.2032
 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
 ----------------------------------------
 Accessibility
 Assembly Version: 1.0.5000.0
 Win32 Version: 1.1.4322.573
 CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
 ----------------------------------------
 Microsoft.VisualBasic
 Assembly Version: 7.0.5000.0
 Win32 Version: 7.10.6001.4
 CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
 ----------------------------------------
 System.Xml
 Assembly Version: 1.0.5000.0
 Win32 Version: 1.1.4322.2032
 CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
 ----------------------------------------
 sj78ziw3
 Assembly Version: 0.0.0.0
 Win32 Version: 1.1.4322.2032
 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
 ----------------------------------------
 pr2k4-ck
 Assembly Version: 0.0.0.0
 Win32 Version: 1.1.4322.2032
 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
 ----------------------------------------
 
 ************** JIT Debugging **************
 To enable just in time (JIT) debugging, the config file for this
 application or machine (machine.config) must have the
 jitDebugging value set in the system.windows.forms section.
 The application must also be compiled with debugging
 enabled.
 
 For example:
 
 <configuration>
 <system.windows.forms jitDebugging="true" />
 </configuration>
 
 When JIT debugging is enabled, any unhandled exception
 will be sent to the JIT debugger registered on the machine
 rather than being handled by this dialog.
  
 
  
  
    I think even Fred would ask:
 "What exactly were you trying to do when the error occurred? Is it repeatable? Does it only occur with a particular file? ..."
  
 
  
  
    WHAT IS UP WITH THIS? Is Fred Tera's e-mail down?
 -jedijed
 
 This is an automatically generated Delivery Status Notification.
 
 Delivery to the following recipients failed.
 
 [Redacted]@[Redacted].[Redacted]
 ---------------------------------------------------
 Reporting-MTA: dns;bay0-omc3-s1.bay0.hotmail.com
 Received-From-MTA: dns;hotmail.com
 Arrival-Date: Wed, 25 Jul 2007 17:07:35 -0700
 
 Final-Recipient: rfc822;[Redacted]@[Redacted].[Redacted]
 Action: failed
 Status: 5.5.0
 Diagnostic-Code: smtp;550 Requested action not taken: mailbox unavailable
  
 
  
  
    TO TK102 --> 
 
 Well, I have been TRYING to only save a perfectly-fine-two-minutes-ago module editor project.
 
 -jedijed
 
 I get it a LOT.
  
 
  
  
    Perhaps one of the files in your module is corrupt?
 
 Edit: 
 Well, I have been TRYING to only save a perfectly-fine-two-minutes-ago module editor project. I get it a LOT.
 Wait, it was working 2 mintues ago but now you're getting the error a lot and have since posted here bounced an email to Fred? Wow, you're quick on the draw. :D
  
 
  
  
    Yup, the xml info file probably was... after the error message, though.
 It was working fine before I tried to save it.
 This occurs within ALL of the modules I have ever used evuantualy.
 This error only occurs when I try to open or save this module but it has happened to others before.
  
 
  
  
    Start editing your posts if you want to add more content, this isn't a chatboard.
 
 I'm sorry you're having problems. Perhaps someone with more experience using KT's module editor will know the reason why this is happening, otherwise you'll have to take careful notes of the steps you make and make frequent backups.