2018-11-01, 04:00
(2018-10-28, 16:59)vbat99 Wrote:(2018-10-28, 06:03)Edworld Wrote: vbat99,
Batch scraped genre and got this error:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Media_Companion.TMDb.get_Genres()
at Media_Companion.Movie.RescrapeSpecific(RescrapeList rl)
at Media_Companion.Movies.BatchRescrapeSpecific(List`1 NfoFilenames, RescrapeList rl)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at Media_Companion.Form1.CallSubByName(String SubName)
at Media_Companion.Form1.BckWrkScnMovies_DoWork(Object sender, DoWorkEventArgs e)
No issue here. TMDb Genre scraped perfectly in Batch or Specific option. Could one of your movies not have a TMDB and IMDB Id?
In settings I have use tmdb xbmc scraper on windows 7, the option to scrape genre from IMDB is not selected.
If I run batch scraper and only select genre, the error shows up after 9 movies.
If I select 30 movies and run the batch scraper, the error shows up after 9 movies.
If I select 30 movies and right click rescrape specific genre, error after 9 movies
I hope this helps