Jump to content

Unhandled Exception: A child with the ID already exists


Recommended Posts

ttgapers
Posted

Hi,

 

I have started getting this error pop up on screen on my MBS recently. The full error is:

Unhandled exception: A child with the Id 42e1970f-7ded-2700-9f52-91d8fd829c already exists.

Once I click OK to acknowledge MBS crashes and exits (unavailable). I then have to restart MBS. If I leave the error on screen, MBS appears to function normally. If I close and restart MBS, the error pops up in less than 5 mins.

 

Any ideas?

ttgapers
Posted

Yup,

 

On to that next. Seems the logs folder keeps a nice tidy log per unhandled exception. Here is the latest for this morning:

A child with the Id 42e1970f-7ded-2700-9f52-91d8fde8e29c already exists.
System.ArgumentException
   at MediaBrowser.Controller.Entities.Folder.<AddChild>d__8f.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.Collections.CollectionManager.<CreateCollection>d__1.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 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at AutoBoxSets.Plugin.<UpdateBoxSet>d__1d.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 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at AutoBoxSets.Plugin.<CreateAllBoxSets>d__7.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 System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
   at AutoBoxSets.ServerEntryPoint.<TimerStopped>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__1(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()

Going to get the others and attach as files or post to Onedrive.

Posted

I think what is happening is you have one or more movies with old tmdb IDs for their collection ID and you also have a collection defined for them, but with a different tmdb ID (probably the correct one).

 

Update to the dev version I just put up and it should no longer crash and report on what the offending movies and IDs are.

ttgapers
Posted (edited)

I think what is happening is you have one or more movies with old tmdb IDs for their collection ID and you also have a collection defined for them, but with a different tmdb ID (probably the correct one).

 

Update to the dev version I just put up and it should no longer crash and report on what the offending movies and IDs are.

 

Ok one sec...let me run the update and let you know.

 

I just checked and no update available.

 

I am running at present version: 3.0.5211.41935

 

Cheers

Edited by ttgapers
ttgapers
Posted (edited)

oops...updated the boxsets plugin :)

 

Will let you know what happens next.

 

Looks good thus far. Thanks for the quick fix!

Edited by ttgapers
Posted

Please post the full log.

Posted

There should be an error in your log that states what the bad collection/movies are.

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