home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Trakt
MediaPortal stopped due to an exception Type 'TraktPlugin.TraktAPI.DataStructures.TraktMovieSummary'
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Sebastiii" data-source="post: 1228458" data-attributes="member: 60104"><p>Damien, another lead maybe for MP crash in Trakt : in \Trakt-for-Mediaportal\TraktPlugin\GUI\GUIExtensions.cs</p><p></p><p>I can't see why <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /> or maybe like you said put a lock.</p><p></p><p>[code=csharp]/// <summary></p><p> /// Acts the same as the CurrentLayout / View property.</p><p> /// </summary></p><p> /// <remarks>this extension method was added to allow backwards compatibility with MediaPortal 1.1</remarks></p><p> /// <param name="self"></param></p><p> /// <returns>instance of GUIListControl or null</returns></p><p> public static void SetCurrentLayout(this GUIFacadeControl self, string layout)</p><p> {</p><p> PropertyInfo property = GetPropertyInfo<GUIFacadeControl>("CurrentLayout", "View");</p><p> property.SetValue(self, Enum.Parse(property.PropertyType, layout), null);</p><p> }[/code]</p><p></p><p>[code]Application: MediaPortal.exe</p><p>Framework Version: v4.0.30319</p><p>Description: The process was terminated due to an unhandled exception.</p><p>Exception Info: System.NullReferenceException</p><p> at MediaPortal.GUI.Library.GUIImageAllocator.ClearCachedAllocatorImages()</p><p> at MediaPortal.GUI.Library.GUIFilmstripControl.OnMessage(MediaPortal.GUI.Library.GUIMessage)</p><p> at MediaPortal.GUI.Library.GUIFacadeControl.set_CurrentLayout(Layout)</p><p></p><p>Exception Info: System.Reflection.TargetInvocationException</p><p> at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)</p><p> at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])</p><p> at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)</p><p> at System.Reflection.RuntimePropertyInfo.SetValue(System.Object, System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)</p><p> at System.Reflection.RuntimePropertyInfo.SetValue(System.Object, System.Object, System.Object[])</p><p> at TraktPlugin.GUI.GUIWindowExtensions.SetCurrentLayout(MediaPortal.GUI.Library.GUIFacadeControl, System.String)</p><p> at TraktPlugin.TraktDashboard.LoadTrendingMoviesFacade(System.Collections.Generic.IEnumerable`1<TraktAPI.DataStructures.TraktMovieTrending>, MediaPortal.GUI.Library.GUIFacadeControl)</p><p> at TraktPlugin.TraktDashboard.LoadTrendingMovies(Boolean)</p><p> at TraktPlugin.TraktDashboard.LoadTrendingMovies()</p><p> at TraktPlugin.TraktDashboard.<Init>b__76_2(System.Object)</p><p> at System.Threading.TimerQueueTimer.CallCallbackInContext(System.Object)</p><p> at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)</p><p> at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)</p><p> at System.Threading.TimerQueueTimer.CallCallback()</p><p> at System.Threading.TimerQueueTimer.Fire()</p><p> at System.Threading.TimerQueue.FireQueuedTimerCompletion(System.Object)</p><p> at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()</p><p> at System.Threading.ThreadPoolWorkQueue.Dispatch()</p><p> at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()</p><p></p><p>[/code]</p></blockquote><p></p>
[QUOTE="Sebastiii, post: 1228458, member: 60104"] Damien, another lead maybe for MP crash in Trakt : in \Trakt-for-Mediaportal\TraktPlugin\GUI\GUIExtensions.cs I can't see why :( or maybe like you said put a lock. [code=csharp]/// <summary> /// Acts the same as the CurrentLayout / View property. /// </summary> /// <remarks>this extension method was added to allow backwards compatibility with MediaPortal 1.1</remarks> /// <param name="self"></param> /// <returns>instance of GUIListControl or null</returns> public static void SetCurrentLayout(this GUIFacadeControl self, string layout) { PropertyInfo property = GetPropertyInfo<GUIFacadeControl>("CurrentLayout", "View"); property.SetValue(self, Enum.Parse(property.PropertyType, layout), null); }[/code] [code]Application: MediaPortal.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException at MediaPortal.GUI.Library.GUIImageAllocator.ClearCachedAllocatorImages() at MediaPortal.GUI.Library.GUIFilmstripControl.OnMessage(MediaPortal.GUI.Library.GUIMessage) at MediaPortal.GUI.Library.GUIFacadeControl.set_CurrentLayout(Layout) Exception Info: System.Reflection.TargetInvocationException at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[]) at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo) at System.Reflection.RuntimePropertyInfo.SetValue(System.Object, System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo) at System.Reflection.RuntimePropertyInfo.SetValue(System.Object, System.Object, System.Object[]) at TraktPlugin.GUI.GUIWindowExtensions.SetCurrentLayout(MediaPortal.GUI.Library.GUIFacadeControl, System.String) at TraktPlugin.TraktDashboard.LoadTrendingMoviesFacade(System.Collections.Generic.IEnumerable`1<TraktAPI.DataStructures.TraktMovieTrending>, MediaPortal.GUI.Library.GUIFacadeControl) at TraktPlugin.TraktDashboard.LoadTrendingMovies(Boolean) at TraktPlugin.TraktDashboard.LoadTrendingMovies() at TraktPlugin.TraktDashboard.<Init>b__76_2(System.Object) at System.Threading.TimerQueueTimer.CallCallbackInContext(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.TimerQueueTimer.CallCallback() at System.Threading.TimerQueueTimer.Fire() at System.Threading.TimerQueue.FireQueuedTimerCompletion(System.Object) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() [/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Trakt
MediaPortal stopped due to an exception Type 'TraktPlugin.TraktAPI.DataStructures.TraktMovieSummary'
Contact us
RSS
Top
Bottom