2.2.0a*

shalarim

29-08-2009 21:57:36

Just tried upgrading to 2.2.0a4 upon saving i was presented with an error exception.

I have tried working backwards (complete uninstall and reinstall) through the releases to get to a version that doesn't have this save exception, and it appears to effect all of the 2.2.0 alpha releases. 2.1.1a6 works, but 2.2.0a1 doesn't. Where there any additional dependencies added for 2.2.0a that i need to install. I would really like to get 2.2.0 working as I like the new features implemented they enhance an already awesome program.

The expeption detail from 2.2.0a - clean install, select save upon opening.
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 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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///E:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TVRename
Assembly Version: 1.0.0.0
Win32 Version:
CodeBase: file:///E:/Program%20Files/TVRename/TVRename.exe
----------------------------------------
msvcm90
Assembly Version: 9.0.21022.8
Win32 Version: 9.00.21022.8
CodeBase: file:///E:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375/msvcm90.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Deployment
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.





Any help much appreciated.

Shalrim

sstteevvee

30-08-2009 10:46:07

No, there aren't any additional dependencies over the previous versions.

After it has the exception and quits, can you please look to see if any of the "TVRenameSettings.xml" file has been written in your settings folder? If so, PM or email it to me (tvrename [at] tvrename.com).

You can also try downloading this TVRenameSettings.xml settings file to the folder above, and and seeing if that allows TVRename to start, then do a "save". It is a default set of settings, apart from the uTorrent paths which you'll need to edit in the preferences.

shalarim

30-08-2009 16:55:26

There was a blank settings file in the ApData folder, didn't think it worth emailing.

I downloaded the file you linked, and it seems to be behaving itself ok, (still on a1 at the moment so need to upgrade and see what I get) now to rebuild my library as I wiped it in the various re-installs ;/

Not sure what the issue was but this has resolved it, FYI the first time was an upgrade from 2.1.0 to 2.2.0a4 (installed over the top) but subsequent attempts where clean removes (inc. settings)

A suggestion: if it is not possible for the recovery mode to load a settings file it just loops continually and has to be killed via Task Manager, adding an ability to create a blank/default settings file or a cancel button would be useful.


Edit: Updated to 2.2.0a4 all still good, thanks for the help (and the program :D )

sstteevvee

11-09-2009 11:52:15

It should work ok if you upgrade "over the top", so I'm not sure what the problem might have been. Good to hear it is working ok, anyway.

I'll add those ideas into the recovery dialog, too.

Edit: Recovery dialog now has a Cancel button, and "empty settings file" option. Go here for the latest version: http://code.google.com/p/tvrename/downloads/list (2.2.0a6)