mrlucas84 / tvrename

Automatically exported from code.google.com/p/tvrename
Other
0 stars 0 forks source link

Save gives unhandled exception #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Added folders to My Shows
2. Save

What is the expected output? What do you see instead?
Error dialog box: 'Object reference not set to an instance of an object'

What version of the product are you using? On what operating system?
2.2.0b2 on XP SP2

Please provide any additional information below.
Exception text:

System.NullReferenceException: Object reference not set to an instance of an 
object.
   at System.Xml.XmlUtf8RawTextWriter.WriteString(String text)
   at System.Xml.XmlUtf8RawTextWriterIndent.WriteString(String text)
   at System.Xml.XmlRawWriter.WriteValue(String value)
   at System.Xml.XmlWellFormedWriter.WriteValue(String value)
   at TVRename.TVSettings.WriteXML(XmlWriter writer)
   at TVRename.TVDoc.WriteXMLSettings()
   at TVRename.UI.saveToolStripMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, 
ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr 
lparam)

Original issue reported on code.google.com by nesbitt....@googlemail.com on 14 Apr 2010 at 10:06

GoogleCodeExporter commented 9 years ago
Sorry about that.. My fault.  After starting TVRename, go to 
Options>Preferences>Files 
and Folders.  Go to the "Other extensions" box and put in ".srt;.nfo;.txt;.tbn" 
(without the quotes).  OK to close the dialog, then it'll be able to save OK.

I've fixed it for the next release (2.2.0b3).

Original comment by tvren...@tvrename.com on 16 Apr 2010 at 11:32