Unhandled exception when adding '24'

interfacelift

03-12-2008 05:14:09

I just added 24 to my collection, and was using Folder Monitor to add it to TVRename 2.1.0b8, and I got an "unhandled exception" when adding it via it's name or via it's TVDB number.
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 TVRename.TheTVDB.PreferredLanguage(Int32 seriesID)
at TVRename.TheTVDB.DownloadSeriesNow(Int32 code, Boolean episodesToo, Boolean forceEnglish)
at TVRename.TheTVDB.Search(String text)
at TVRename.TheTVDBCodeFinder.bnGoSearch_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TVRename
Assembly Version: 1.0.0.0
Win32 Version:
CodeBase: file:///C:/Program%20Files/TVRename/TVRename.exe
----------------------------------------
msvcm90
Assembly Version: 9.0.21022.8
Win32 Version: 9.00.21022.8
CodeBase: file:///C:/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.42 (RTM.050727-4200)
CodeBase: file:///C:/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.42 (RTM.050727-4200)
CodeBase: file:///C:/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.42 (RTM.050727-4200)
CodeBase: file:///C:/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.42 (RTM.050727-4200)
CodeBase: file:///C:/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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.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.


I get the choice to Continue or Quit, if I choose Continue, it'll just happen again. If it makes any difference, I'm using TVRename on XP via VMWare Fusion for the Mac, however I haven't seen this error for the other 150+ shows I've been using it with.

Thanks!

interfacelift

03-12-2008 05:26:28

Same error if I use the "Add" function in the "My Shows" tab. Something specifically about '24' on thetvdb might be causing the error, as I can add it as an incorrect show and it seems to work successfully.

WollyHood

05-12-2008 10:01:02

I'm experiencing the exact same problem.

sstteevvee

05-12-2008 14:09:26

The bug occurs when the show name is just a number, and TVRename was interpreting it as a thetvdb code, rather than a name. I think I've got it all straightened out now.

Grab the latest version (b9) and see how it goes. Download here.

interfacelift

05-12-2008 15:50:06

b9 works. I was able to add '24'.

Thanks!

sstteevvee

05-12-2008 15:57:40

Excellent! :)

FencerJP

15-12-2008 02:17:28

Not sure if this is a related problem, but as it just surfaced with b9, I suspect it is.

I watch a show called Merlin (2008). After installing b9, I found out that my files weren't being recognized under Finding and Organizing. The filename as downloaded is "Merlin.2008.S01E10.etc.etc.avi". Prior to b9, this worked fine, but now it isn't caught unless I rename it to "Merlin (2008) S01E10.avi". If I don't insert both the spaces for periods and the parentheses, it isn't found.

ScoopD

15-12-2008 10:28:04

Not sure if this is a related problem, but as it just surfaced with b9, I suspect it is.
The filename as downloaded is "Merlin.2008.S01E10.etc.etc.avi". Prior to b9, this worked fine, but now it isn't caught unless I rename it to "Merlin (2008) S01E10.avi".


I had the same issue. I assumed it was the "2008" that was the problem, so I manually removed it from the filename and then it was recognised OK.

sstteevvee

22-12-2008 19:33:03

The latest version should now work ok with the name "Merlin.2008.S01E10". Fingers crossed that I haven't broken something to do with "24". :) I gave it a quick test here and it seemed ok.