Media Companion
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Media Companion

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

 

 3.400 - Double click in the blank cover art area and it causes an exception to occur.

Go down 
3 posters
AuthorMessage
shepscrook
New User
New User



Posts : 1
Join date : 2011-01-17

3.400 - Double click in the blank cover art area and it causes an exception to occur. Empty
PostSubject: 3.400 - Double click in the blank cover art area and it causes an exception to occur.   3.400 - Double click in the blank cover art area and it causes an exception to occur. Icon_minitimeMon Jan 17, 2011 9:14 pm

While scraping movings, I came across the movie "40 Year Old Virgin" and noticed it had a large 1920x1080 image, but no cover art images. I went to click inside of the cover art area, and accidentally double clicked. This produced an exception which caused the program to crash.

System Info:
Windows 7 Ultimate x64:

Not sure if this is useful, but here's the error:

Quote :


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

************** Exception Text **************
System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(String filename)
at Media_Companion.Form1.moviethumb_DoubleClick(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.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.4952 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Media Companion
Assembly Version: 3.4.0.0
Win32 Version: 3.4.0.0
CodeBase: file:///D:/Downloads/Media%20Companion%20gen2%203.400/Media%20Companion.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
imdb
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Downloads/Media%20Companion%20gen2%203.400/imdb.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
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.
Back to top Go down
gotaudio
New User
New User



Posts : 4
Join date : 2010-10-23

3.400 - Double click in the blank cover art area and it causes an exception to occur. Empty
PostSubject: Re: 3.400 - Double click in the blank cover art area and it causes an exception to occur.   3.400 - Double click in the blank cover art area and it causes an exception to occur. Icon_minitimeTue Jan 18, 2011 6:04 am

I was not able to duplicate the problem if there was no cover art, but I did duplicate it if the .tbn file was not a valid bitmap image. I copied the movie-name.avi to movie-name.tbn and MC crashed as you described. Can you verify a thumbmail file does not exist on your system?

Back to top Go down
evlsnoopy
New User
New User



Posts : 2
Join date : 2011-01-19
Age : 40
Location : Media Companion Developer

3.400 - Double click in the blank cover art area and it causes an exception to occur. Empty
PostSubject: Re: 3.400 - Double click in the blank cover art area and it causes an exception to occur.   3.400 - Double click in the blank cover art area and it causes an exception to occur. Icon_minitimeWed Jan 19, 2011 1:03 am

Thanks for posting this up! I will look into this tonight.
Back to top Go down
gotaudio
New User
New User



Posts : 4
Join date : 2010-10-23

3.400 - Double click in the blank cover art area and it causes an exception to occur. Empty
PostSubject: Re: 3.400 - Double click in the blank cover art area and it causes an exception to occur.   3.400 - Double click in the blank cover art area and it causes an exception to occur. Icon_minitimeWed Jan 19, 2011 3:54 am

A Try Catch block in moviethumb_DoubleClick() will prevent it.

'zoom images
Private Sub moviethumb_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles moviethumb.DoubleClick
If workingmoviedetails.fileinfo.posterpath <> Nothing Then
If IO.File.Exists(workingmoviedetails.fileinfo.posterpath) Then
Me.ControlBox = False
MenuStrip1.Enabled = False
'ToolStrip1.Enabled = False

' gotaudio try Catch
' Issue http://billyad2000.darkbb.info/post?t=1378
Try
Dim newimage As New Bitmap(workingmoviedetails.fileinfo.posterpath)
Call zoomimage(newimage)
Catch ex As Exception
Me.ControlBox = True
MenuStrip1.Enabled = True
End Try

End If
End If
End Sub
Back to top Go down
evlsnoopy
New User
New User



Posts : 2
Join date : 2011-01-19
Age : 40
Location : Media Companion Developer

3.400 - Double click in the blank cover art area and it causes an exception to occur. Empty
PostSubject: Re: 3.400 - Double click in the blank cover art area and it causes an exception to occur.   3.400 - Double click in the blank cover art area and it causes an exception to occur. Icon_minitimeWed Jan 19, 2011 6:38 am

Back to top Go down
Sponsored content





3.400 - Double click in the blank cover art area and it causes an exception to occur. Empty
PostSubject: Re: 3.400 - Double click in the blank cover art area and it causes an exception to occur.   3.400 - Double click in the blank cover art area and it causes an exception to occur. Icon_minitime

Back to top Go down
 
3.400 - Double click in the blank cover art area and it causes an exception to occur.
Back to top 
Page 1 of 1
 Similar topics
-
» Double Movies, double nfo's
» 2.0.0.7 double scraping
» BUG FOUND: crash on right click
» All movies have the same cover art
» Using wrong season cover image

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