Jump to content

Object reference not set to an instance of an object.?


scottfree1

Recommended Posts

scottfree1

Mb keeps crashing with following error, tried upgrading to latest beta  problem persists, happens immediately when "browse/cofig"/ is selected from tray icon (win 7x64) server crashes with no chance to make any changes?full log.txt

 

Object reference not set to an instance of an object.
System.NullReferenceException
at MediaBrowser.Server.Implementations.Devices.DeviceRepository.<LoadDevices>b__6(FileInfo i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at MediaBrowser.Server.Implementations.Devices.DeviceRepository.LoadDevices()
at MediaBrowser.Server.Implementations.Devices.DeviceRepository.GetDevices()
at MediaBrowser.Server.Implementations.Devices.DeviceRepository.GetDevice(String id)
at MediaBrowser.Server.Implementations.Devices.DeviceRepository.GetCapabilities(String reportedId)
at MediaBrowser.Server.Implementations.Devices.DeviceManager.GetCapabilities(String reportedId)
at MediaBrowser.Server.Implementations.Session.SessionManager.OnSessionStarted(SessionInfo info)
at MediaBrowser.Server.Implementations.Session.SessionManager.<GetSessionInfo>d__1c.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MediaBrowser.Server.Implementations.Session.SessionManager.<LogSessionActivity>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.<ProcessIdentityMessage>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__5(Object state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

 
Link to comment
Share on other sites

I see you are on the DEV update level. So he will update to the latest dev version. So it's normal that you can have a crash.

It' s maybe better to change to another update level?

 

 

pheUqSN.png

  • Like 1
Link to comment
Share on other sites

Cheesegeezer

@@scottfree1

 

As @@Sven suggested, change your update level.  Also I would suggest that you download the server setup again (choose beta) and run, it's important that you download the setup from the website each time you need to run any of the setups and not run an old one stored on your computer.  You will not lose your setting but it will ensure that a more stable version is installed.

 

Let us know how you get on

Link to comment
Share on other sites

scottfree1

Updated + recreating library's = issue remained. So I ripped it out from the roots, complete uninstall + revo uninstaller to get a few left over reg keys + delete any/all mb related folders. Started from scratch with v3.0.5421.0  not surprisingly that seems to have solved it. (sorry for not getting back sooner, boards should be set to subscribe as the default for the thread starter)

Edited by scottfree1
Link to comment
Share on other sites

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...