Media Companion

Discussion and development board for the program Media Companion.
 
HomeHome  SearchSearch  RegisterRegister  Log inLog in  

 

 v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS!

Go down 
AuthorMessage
StormyKnight
VIP
VIP


Posts : 556
Join date : 2008-10-08
Location : Australia

v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS! Empty
PostSubject: v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS!   v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS! Icon_minitimeWed Oct 15, 2008 11:42 am

If you backspace in the timer window so that there is no numbers present the following error occurs. Looks like the resulting code needs to handle "" as a possible entry.

Cheers



See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** 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 XBMC_Media_Companion.options.TextBox2_TextChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)
at System.Windows.Forms.TextBoxBase.WmReflectCommand(Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.TextBox.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.1433 (REDBITS.050727-1400)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
XBMC Media Companion 1.911
Assembly Version: 1.9.1.1
Win32 Version: 1.9.1.1
CodeBase: file:///C:/Portable/XBMC%20Media%20Companion/XBMC%20Media%20Companion%201.911.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
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.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/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.


Last edited by StormyKnight on Fri Nov 28, 2008 12:57 am; edited 1 time in total
Back to top Go down
Ryld
Junior Member
Junior Member


Posts : 23
Join date : 2008-10-12

v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS! Empty
PostSubject: Re: v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS!   v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS! Icon_minitimeWed Oct 15, 2008 11:44 am

Perhaps the code should do nothing on.Change - and only update on save & exit - at which time if its empty set it to zero.

Otherwise, confirmed bug as well - second you empty the box, bam!
Back to top Go down
billyad2000
Admin
billyad2000

Posts : 1326
Join date : 2008-09-20

v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS! Empty
PostSubject: Re: v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS!   v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS! Icon_minitimeWed Oct 15, 2008 9:17 pm

I've fixed this for next version -

If the control looses focus with either 0 or "" or another illegal entry then a messagebox warns the user and sets the time to 10 seconds

_________________
Do you have a problem with Media Companion, before posting a bug then please check you have the very latest version of Media Companion http://billyad2000.darkbb.com/announcements-f1/
Back to top Go down
http://billyad2000.co.uk
StormyKnight
VIP
VIP


Posts : 556
Join date : 2008-10-08
Location : Australia

v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS! Empty
PostSubject: Re: v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS!   v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS! Icon_minitimeThu Oct 16, 2008 10:29 am

Much appreciated Very Happy
Back to top Go down
Sponsored content




v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS! Empty
PostSubject: Re: v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS!   v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS! Icon_minitime

Back to top Go down
 
v1.911 Exception - When changing fanart slideshow delay - FIXED THANKS!
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Media Companion :: Media Companion :: Bug Discussion-
Jump to: