Trakt Dashboard error crashes MediaPortal

Discussion in 'Trakt' started by catavolt, June 1, 2016.

  1. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,260
    Likes Received:
    4,997
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,423 / 38
    Home Country:
    Germany Germany
    Show System Specs
    Hi Damien,
    starting MP this morning resulted in crash(es) of MP.
    Looking into logs gave me this:
    Code (XML):
    1. [2016-06-01 09:40:19,982] [Error  ] [DashMovies] [ERROR] - MediaPortal: Unhandled exception occured
    2. [2016-06-01 09:40:20,263] [Log    ] [DashMovies] [ERROR] - Exception: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
    3.    bei TraktPlugin.TraktDashboard.PublishMovieProperties(IEnumerable`1 trendingItems) in C:\Development\Trakt\TraktPlugin\TraktDashboard.cs:Zeile 585.
    4.    bei TraktPlugin.TraktDashboard.LoadTrendingMovies(Boolean forceReload) in C:\Development\Trakt\TraktPlugin\TraktDashboard.cs:Zeile 532.
    5.    bei TraktPlugin.TraktDashboard.<Init>b__a1(Object o) in C:\Development\Trakt\TraktPlugin\TraktDashboard.cs:Zeile 3251.
    6.    bei System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
    7.    bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    8.    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    9.    bei System.Threading.TimerQueueTimer.CallCallback()
    10.    bei System.Threading.TimerQueueTimer.Fire()
    11.    bei System.Threading.TimerQueue.FireQueuedTimerCompletion(Object state)
    12.    bei System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    13.    bei System.Threading.ThreadPoolWorkQueue.Dispatch()
    14.    bei System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()  Message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.  Site   : Void PublishMovieProperties(System.Collections.Generic.IEnumerable`1[TraktPlugin.TraktAPI.DataStructures.TraktMovieTrending])  Source : TraktPlugin  Stack Trace:     bei TraktPlugin.TraktDashboard.PublishMovieProperties(IEnumerable`1 trendingItems) in C:\Development\Trakt\TraktPlugin\TraktDashboard.cs:Zeile 585.
    15.    bei TraktPlugin.TraktDashboard.LoadTrendingMovies(Boolean forceReload) in C:\Development\Trakt\TraktPlugin\TraktDashboard.cs:Zeile 532.
    16.    bei TraktPlugin.TraktDashboard.<Init>b__a1(Object o) in C:\Development\Trakt\TraktPlugin\TraktDashboard.cs:Zeile 3251.
    17.    bei System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
    18.    bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    19.    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    20.    bei System.Threading.TimerQueueTimer.CallCallback()
    21.    bei System.Threading.TimerQueueTimer.Fire()
    22.    bei System.Threading.TimerQueue.FireQueuedTimerCompletion(Object state)
    23.    bei System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    24.    bei System.Threading.ThreadPoolWorkQueue.Dispatch()
    25.    bei System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
    So I deactivated Trakt and MP runs OK again.
    Any ideas?


     
    • Agree Agree x 2
    • Thank You! Thank You! x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. JasMan

    JasMan Portal Member

    Joined:
    May 5, 2012
    Messages:
    16
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +6 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi,
    I'm "Happy" to read this because I've the same error since today. Mediaportal suddently crashes and after that I've to deactivate the Trakt Plugin to get Mediaportal running again.
     
    • Like Like x 1
  4. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,476
    Likes Received:
    4,293
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,452 / 0
    Home Country:
    Australia Australia
    Looks like the Trakt API is doing something stupid atm. When trending movies is requested its returning shows and vice versa...school boy error. Kinda surprised something like that could happen.

    Similar issues have appears on the API support area so the admins should address it soon.
     
    Last edited: June 1, 2016
    • Like Like x 1
  5. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,476
    Likes Received:
    4,293
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,452 / 0
    Home Country:
    Australia Australia
    This should hopefully fix the symptom (i.e. the crash), but the problem itself is the API and not the plugin.
     
    • Like Like x 1
  6. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,260
    Likes Received:
    4,997
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,423 / 38
    Home Country:
    Germany Germany
    Show System Specs
    Code (XML):
    1. [2016-06-01 13:10:56,633] [Error  ] [DashMovies] [ERROR] - MediaPortal: Unhandled exception occured
    2. [2016-06-01 13:10:56,755] [Log    ] [DashMovies] [ERROR] - Exception: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
    3.    bei TraktPlugin.TraktDashboard.LoadTrendingMoviesFacade(IEnumerable`1 trendingItems, GUIFacadeControl facade) in C:\Development\Trakt\TraktPlugin\TraktDashboard.cs:Zeile 679.
    4.    bei TraktPlugin.TraktDashboard.LoadTrendingMovies(Boolean forceReload) in C:\Development\Trakt\TraktPlugin\TraktDashboard.cs:Zeile 535.
    5.    bei TraktPlugin.TraktDashboard.<Init>b__a1(Object o) in C:\Development\Trakt\TraktPlugin\TraktDashboard.cs:Zeile 3254.
    6.    bei System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
    7.    bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    8.    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    9.    bei System.Threading.TimerQueueTimer.CallCallback()
    10.    bei System.Threading.TimerQueueTimer.Fire()
    11.    bei System.Threading.TimerQueue.FireQueuedTimerCompletion(Object state)
    12.    bei System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    13.    bei System.Threading.ThreadPoolWorkQueue.Dispatch()
    14.    bei System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()  Message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.  Site   : Void LoadTrendingMoviesFacade(System.Collections.Generic.IEnumerable`1[TraktPlugin.TraktAPI.DataStructures.TraktMovieTrending], MediaPortal.GUI.Library.GUIFacadeControl)  Source : TraktPlugin  Stack Trace:     bei TraktPlugin.TraktDashboard.LoadTrendingMoviesFacade(IEnumerable`1 trendingItems, GUIFacadeControl facade) in C:\Development\Trakt\TraktPlugin\TraktDashboard.cs:Zeile 679.
    15.    bei TraktPlugin.TraktDashboard.LoadTrendingMovies(Boolean forceReload) in C:\Development\Trakt\TraktPlugin\TraktDashboard.cs:Zeile 535.
    16.    bei TraktPlugin.TraktDashboard.<Init>b__a1(Object o) in C:\Development\Trakt\TraktPlugin\TraktDashboard.cs:Zeile 3254.
    17.    bei System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
    18.    bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    19.    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    20.    bei System.Threading.TimerQueueTimer.CallCallback()
    21.    bei System.Threading.TimerQueueTimer.Fire()
    22.    bei System.Threading.TimerQueue.FireQueuedTimerCompletion(Object state)
    23.    bei System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    24.    bei System.Threading.ThreadPoolWorkQueue.Dispatch()
    25.    bei System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
    Unfortunately not - MP keeps crashing :cry:
     
    • Thank You! Thank You! x 1
  7. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,476
    Likes Received:
    4,293
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,452 / 0
    Home Country:
    Australia Australia
    This one fixes that one, I missed a spot.
     

    Attached Files:

    • Release.zip
      File size:
      831.5 KB
      Uploaded:
      June 1, 2016
      Views:
      89
    • Thank You! Thank You! x 1
  8. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,260
    Likes Received:
    4,997
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,423 / 38
    Home Country:
    Germany Germany
    Show System Specs
    THX, Damien, works now (y) (y) (y)
    Seems the problem is missing trending series :whistle: (can be seen in plugin)
    No more errors in MP log ;)
     
    • Like Like x 1
  9. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,476
    Likes Received:
    4,293
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,452 / 0
    Home Country:
    Australia Australia
    Yes, the trending API is all messed up at the moment...hopefully should be fixed soon online and you should see it again.
     
    • Thank You! Thank You! x 2
  10. JasMan

    JasMan Portal Member

    Joined:
    May 5, 2012
    Messages:
    16
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +6 / 0
    Home Country:
    Germany Germany
    Show System Specs
  11. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,476
    Likes Received:
    4,293
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,452 / 0
    Home Country:
    Australia Australia
    No worries, the root cause has been fixed on the API so issue is resolved. I will include changes above in next version in case it happens again.
     
    • Like Like x 2
    • Thank You! Thank You! x 2
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!