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  

 

 Unhandled Exception entering File Details page for missing file

Go down 
4 posters
AuthorMessage
doveman
Junior Member
Junior Member



Posts : 22
Join date : 2010-01-26

Unhandled Exception entering File Details page for missing file Empty
PostSubject: Unhandled Exception entering File Details page for missing file   Unhandled Exception entering File Details page for missing file Icon_minitimeWed Jan 27, 2010 3:42 pm

I renamed a file, such that MC no longer has the correct filename stored for it. If I have that movie selected in the Main Browser list and go to File Details, I get the Unhandled Exception error shown below. I can click on Continue and carry on using MC.

How can I delete a movie from the list, so that I can re-scan and find the re-named file?
---
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 Media_Companion.Form1.filedetails()
at Media_Companion.Form1.TabControl2_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.TabControl.WmSelChange()
at System.Windows.Forms.TabControl.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.3603 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Media Companion
Assembly Version: 3.1.9.8
Win32 Version: 3.1.9.8
CodeBase: file:///C:/Program%20Files/Media%20Companion/Media%20Companion.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
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.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
imdb
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Media%20Companion/imdb.DLL
----------------------------------------
IMPA
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Media%20Companion/IMPA.DLL
----------------------------------------
tmdb_posters
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Media%20Companion/tmdb_posters.DLL
----------------------------------------
class_mpdb_thumbs
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Media%20Companion/class_mpdb_thumbs.DLL
----------------------------------------
imdb_thumbs
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Media%20Companion/imdb_thumbs.DLL
----------------------------------------
TVDB
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Media%20Companion/TVDB.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.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
billyad2000
Admin
billyad2000


Posts : 1326
Join date : 2008-09-20

Unhandled Exception entering File Details page for missing file Empty
PostSubject: Re: Unhandled Exception entering File Details page for missing file   Unhandled Exception entering File Details page for missing file Icon_minitimeWed Jan 27, 2010 11:15 pm

Yes - I need to handle this exception,

The function actually uses mediainfo to return the filedetails, this is not possible if the file cannot be located.
Back to top Go down
http://billyad2000.co.uk
doveman
Junior Member
Junior Member



Posts : 22
Join date : 2010-01-26

Unhandled Exception entering File Details page for missing file Empty
PostSubject: Re: Unhandled Exception entering File Details page for missing file   Unhandled Exception entering File Details page for missing file Icon_minitimeWed Jan 27, 2010 11:51 pm

Glad to hear you're on top of it.

Is there any way to remove a movie from the list at the moment?
Back to top Go down
Wizerd
Media Companion Supporter
Media Companion Supporter
Wizerd


Posts : 125
Join date : 2008-09-22
Location : Ontario, Cananda

Unhandled Exception entering File Details page for missing file Empty
PostSubject: Re: Unhandled Exception entering File Details page for missing file   Unhandled Exception entering File Details page for missing file Icon_minitimeThu Jan 28, 2010 12:05 am

doveman wrote:
Glad to hear you're on top of it.

Is there any way to remove a movie from the list at the moment?

I have done this in the past as well. I move and copyt files all over my network. The only sure way I get things back in line is to do a movie or tv rebuild. It's just easier for me.
Back to top Go down
doveman
Junior Member
Junior Member



Posts : 22
Join date : 2010-01-26

Unhandled Exception entering File Details page for missing file Empty
PostSubject: Re: Unhandled Exception entering File Details page for missing file   Unhandled Exception entering File Details page for missing file Icon_minitimeThu Jan 28, 2010 12:59 am

OK, I think I'm getting the hang of it, slowly!

So doing a rebuild will remove missing movies and add re-located data files?
Back to top Go down
StormyKnight
VIP
VIP



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

Unhandled Exception entering File Details page for missing file Empty
PostSubject: Re: Unhandled Exception entering File Details page for missing file   Unhandled Exception entering File Details page for missing file Icon_minitimeThu Jan 28, 2010 1:09 am

Rebuild movies, clears the records of the movies that MC holds & reenters them from the movie nfo's in the movie folders listed in the preferences.


So if you have an offending movie, deleting its nfo & then rebuilding the movies will remove it from MC. Searching for new movies will locate it again & create a new nfo.

Cheers
Back to top Go down
doveman
Junior Member
Junior Member



Posts : 22
Join date : 2010-01-26

Unhandled Exception entering File Details page for missing file Empty
PostSubject: Re: Unhandled Exception entering File Details page for missing file   Unhandled Exception entering File Details page for missing file Icon_minitimeThu Jan 28, 2010 1:25 am

Cheers for the explanation. I think I've got the hang of it now.
Back to top Go down
Sponsored content





Unhandled Exception entering File Details page for missing file Empty
PostSubject: Re: Unhandled Exception entering File Details page for missing file   Unhandled Exception entering File Details page for missing file Icon_minitime

Back to top Go down
 
Unhandled Exception entering File Details page for missing file
Back to top 
Page 1 of 1
 Similar topics
-
» Small issue in the file details. Ver. 2.141
» Unhaldled Exception - System cannot open the file - .168
» 3.128 - initial scrape missing some files based on p2p .nfo file existing
» 3.128 - multi-file runtime on initial scrape only picking up 1st file
» Crash when clicking on "file details" button

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