Jump to content

Unhandled exception: the path is not of a legal form


Recommended Posts

Posted

Hi guys,

All of a sudden, my Emby server started having issues and I get this error message on the screen:

 

Unhandled exception: the path is not of a legal form

 

Any time this message comes up, Emby has already been shut down as a result. How can I troubleshoot this?

Posted

Hi, sorry to hear about this. In order to best help you with this, please provide the information requested in how to report a problem. Thanks !

Posted (edited)

Thanks Luke. I think I found the relevant log - here is what it contains:

 

The path is not of a legal form.
System.ArgumentException
at System.IO.Path.NewNormalizePathLimitedChecks(String path, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.InternalGetDirectoryName(String path)
at MediaBrowser.Server.Implementations.IO.LibraryMonitor.<>c__DisplayClass15.<ReportFileSystemChanged>b__14(String i)
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
at MediaBrowser.Server.Implementations.IO.LibraryMonitor.ReportFileSystemChanged(String path)
at MediaBrowser.Server.Implementations.IO.LibraryMonitor.<ReportFileSystemChangeComplete>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_1(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()

 

 

 

EDIT: here is the server log from the same time period: https://dl.dropboxusercontent.com/u/472290/mb3%20logs/Log.txt

Edited by tp546
Posted

Can you please attach the complete log? Thanks.

Posted

FYI I just got the same thing this morning. restarted, reinstalled. nothing.

Posted

hey luke, any help here? i am still getting this message. let me know. thanks.

Posted

Please provide a new server log. thanks.

Posted

Not sure it is your problem but uninstall/delete the Advanced Intros plug-in.

Posted

Not sure it is your problem but uninstall/delete the Advanced Intros plug-in.

So I can't use that plug-in anymore?

  • 2 weeks later...
Posted

Please provide a new server log. thanks.

Have you had a chance to look at any of the logs? I am still getting this error and I'm also realizing now that many of the items I have in subfolders of one of my main folders are no longer showing up in Emby. I don't know if these are related but please let me know. Thanks.

Posted

I put in a fix for the next release of the server.

Posted

I put in a fix for the next release of the server.

 

can you elaborate on the problem this is fixing?

Posted

Not sure yet. I think it's something specific to your files but I don't know what it is yet. But we can catch the error, log it and continue instead of crashing.

Posted

Okay thanks. Any ETA on when this update will be rolling out?

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