Pluralsight Movies Module fails on Movie Lookup to TMDb

Topics: Writing modules
Jul 9, 2012 at 4:45 AM

I downloaded and installed the latest Orchard v1.4.2, downloaded and enabled Taxonomies, and the downloaded and enabled Pluralsight Movies.   I register on TMDb for an API key and save that in the Settings > Movies page. 

When I try a Movie Lookup, the site replies with "No match found. Please try again.", however the log file shows the following:

2012-07-08 21:32:17,875 [21] Orchard.ContentManagement.DefaultContentDisplay - NullReferenceException thrown from IContentHandler by Pluralsight.Movies.Handlers.MovieHandler
System.NullReferenceException: Object reference not set to an instance of an object.
   at Pluralsight.Movies.Handlers.MovieHandler.GetRelatedMovies(ContentItem displayedMovie)
   at Pluralsight.Movies.Handlers.MovieHandler.BuildDisplayShape(BuildDisplayContext context)
   at Orchard.ContentManagement.Handlers.ContentHandler.Orchard.ContentManagement.Handlers.IContentHandler.BuildDisplay(BuildDisplayContext context) in D:\Mercurial\Pluralsight Movies\src\Orchard\ContentManagement\Handlers\ContentHandler.cs:line 338
   at Orchard.ContentManagement.DefaultContentDisplay.<>c__DisplayClass6.<BuildDisplay>b__5(IContentHandler handler) in D:\Mercurial\Pluralsight Movies\src\Orchard\ContentManagement\DefaultContentDisplay.cs:line 59
   at Orchard.InvokeExtensions.Invoke[TEvents](IEnumerable`1 events, Action`1 dispatch, ILogger logger) in D:\Mercurial\Pluralsight Movies\src\Orchard\InvokeExtensions.cs:line 19
2012-07-08 21:32:18,437 [14] Orchard.ContentManagement.DefaultContentManager - NullReferenceException thrown from IContentHandler by Pluralsight.Movies.Handlers.MovieHandler
System.NullReferenceException: Object reference not set to an instance of an object.
   at Pluralsight.Movies.Handlers.MovieHandler.<.ctor>b__0(IndexContentContext context, MoviePart part)
   at Orchard.ContentManagement.Handlers.ContentHandler.InlineStorageFilter`1.Indexing(IndexContentContext context, TPart instance) in D:\Mercurial\Pluralsight Movies\src\Orchard\ContentManagement\Handlers\ContentHandler.cs:line 172
   at Orchard.ContentManagement.Handlers.StorageFilterBase`1.Orchard.ContentManagement.Handlers.IContentStorageFilter.Indexing(IndexContentContext context) in D:\Mercurial\Pluralsight Movies\src\Orchard\ContentManagement\Handlers\StorageFilterBase.cs:line 106
   at Orchard.ContentManagement.Handlers.ContentHandler.Orchard.ContentManagement.Handlers.IContentHandler.Indexing(IndexContentContext context) in D:\Mercurial\Pluralsight Movies\src\Orchard\ContentManagement\Handlers\ContentHandler.cs:line 304
   at Orchard.ContentManagement.DefaultContentManager.<>c__DisplayClass7d.<Index>b__7b(IContentHandler handler) in D:\Mercurial\Pluralsight Movies\src\Orchard\ContentManagement\DefaultContentManager.cs:line 660
   at Orchard.InvokeExtensions.Invoke[TEvents](IEnumerable`1 events, Action`1 dispatch, ILogger logger) in D:\Mercurial\Pluralsight Movies\src\Orchard\InvokeExtensions.cs:line 19
Any idea how to debug this?