Jump to content

podcast refresh failing


Spaceboy

Recommended Posts

Spaceboy

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!

Link to comment
Share on other sites

@@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);
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Spaceboy
Link to comment
Share on other sites

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

 

See above :).

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

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