Jump to content

podcast refresh failing


Recommended Posts

Spaceboy
Posted

hi, in the last couple of days the pod cast refresh has started to fail and i cannot see any reason why from the log which is attached.

 

thanks!

Posted

please always post a complete log

Posted

Are you running the latest version?

Spaceboy
Posted

of course!

Posted

@@Luke it is throwing a null ref trying to determine if something is a directory in the resolution helper.

 

Is there something about the way I'm calling this that needs to change?

	Object reference not set to an instance of an object.
	   at MediaBrowser.Controller.Library.ItemResolveArgs.get_IsDirectory()
	   at MediaBrowser.Controller.Resolvers.EntityResolutionHelper.EnsureDates(IFileSystem fileSystem, BaseItem item, ItemResolveArgs args, Boolean includeCreationTime)
	   at PodCasts.Entities.VodCast.<>c__DisplayClass8.<ValidateChildrenInternal>b__2(BaseItem child)
	   at System.Threading.Tasks.Parallel.<>c__DisplayClass2d`2.<ForEachWorker>b__23(Int32 i)
	   at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
	   at System.Threading.Tasks.Task.InnerInvoke()
	   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
	   at System.Threading.Tasks.Task.<>c__DisplayClass11.<ExecuteSelfReplicating>b__10(Object param0)

EntityResolutionHelper.EnsureDates(FileSystem, currentChild, child.ResolveArgs, false);
Posted

does this reproduce for you or anyone on our test team? first we have to find out what is null. i'll add some null checks to the beginning of that method.

Posted

No, it doesn't happen for me.  I think it is related to that particular podcast or episode.

Spaceboy
Posted
Posted

Ok. I added some exceptions that will give us more information when the next server is released.

Posted

are these virtual items? EnsureDates wasn't really designed to be called against those because there's no FIleInfo

 

See above :).

Spaceboy
Posted

ok, so its still failing, new log attached, hopefully this has more detail for you. thanks

Spaceboy
Posted

that does the job. all fixed, thanks guys

Posted

Failing the exact same way.  @@Luke, what did you add?

Posted

Failing the exact same way.  @@Luke, what did you add?

 

Well spaceboy's log is 5105, the release build. so that might suggest it's not related to the changes in today's dev build.

Posted

I think I can just eliminate the call that is causing the issue in the first place.

 

Podcasts are virtual so don't have resolve args or file system dates anyway.

Posted

are these virtual items? EnsureDates wasn't really designed to be called against those because there's no FIleInfo

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