AnthonyB Senior Member
![Senior Member Senior Member](https://2img.net/i/itest/ranks/default/default5.gif)
Posts : 122 Join date : 2008-11-08 Location : Sydney, Australia
![3.317 - Unhandled Exception when you try to change status on new TV Show Empty](https://2img.net/i/empty.gif) | Subject: 3.317 - Unhandled Exception when you try to change status on new TV Show Tue Sep 14, 2010 2:19 am | |
| I've found a reproducable unhandled exception, repro is 1. Add new TV Show folder 2. Rebuild Shows so the folder is added to the TV Show list 3. Select new TV Show in list 4. Try to change status Outcome is you get a dialog box saying "Cant unlock, No TVDB ID is available" (note: typo there as well, cant=can't). Click OK on dialog and then you get the Unhandled Exception - Code:
-
************** Exception Text ************** System.InvalidCastException: Conversion from string "" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format. at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) --- End of inner exception stack trace --- at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) at Media_Companion.Form1.Button60_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)
| |
|
billyad2000 Admin
![billyad2000](https://2img.net/u/1613/37/10/50/avatars/1-16.jpg)
Posts : 1326 Join date : 2008-09-20
![3.317 - Unhandled Exception when you try to change status on new TV Show Empty](https://2img.net/i/empty.gif) | Subject: Re: 3.317 - Unhandled Exception when you try to change status on new TV Show Sun Oct 03, 2010 12:10 pm | |
| Fixed the exception for the next build - along with the typo.
The error dialogue is correct though - MC needs a TVDB ID to perform scraping functions on the show, shows without this will remain locked. | |
|