Jump to content

Unhanlded Exception


Recommended Posts

craigtrombly
Posted

Approximately now 2 to 3 times a day, the server is now sending an unhandled exception error from .Net,    

 

"Unhanlded Exception. Object reference not set to an instance of an object:"

 

When this happens and I try to mouse over the software in lower corner in running services, it dissappears and requires restart.  I have not been able to determine any action or what the actions were prior to the error being thrown.  I can say this has never happed not once in any previous build in the last 4 to 5 months and I use the software everyday. 

Posted

can you post the server log?

Posted

Ah, easy fix for @@ebr probably, in autobox sets

Posted

First thing you need to do is get rid of all of those auto box sets that are in your movies folder.  Do a search in explorer for "MB Auto Set" and delete them all.  The plug-in no longer creates them in the library like that and that is the reason the logging is going goofy.

 

Deleting all of those should then make auto box sets re-create them in the proper place.

 

This was announced when the plug-in was re-worked but you may not have seen it.

 

A new version of the plug-in won't crash anymore but you really do need to migrate your auto box set stuff to avoid further issues.

Posted

@@Luke this is the result of a simple operation like this:

 Logger.ErrorException("Error adding box set member {0}", e, member.Name);

If the Name of that item happens to be null the logger completely chokes.  Can we control this and make that not happen?

 

I have put safety null coalescing on those lines now but that is something one would not think to do normally.

Posted

i'm guessing yes, that can probably be trapped in low level logging. But it would have to wait until the next public release.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...