Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.0.0-Summer Release '15 Update 1
-
None
Description
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">An invalid LCID (here 4096) makes the GUI crashing when trying to build a CultureInfo.</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">[2015-09-18 19:27:22,702] [11968 ] [29 ] [ERROR] - ApplicationLauncher: Unhandled exception in application</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">System.Globalization.CultureNotFoundException: Culture is not supported.</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Parameter name: culture</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">4096 (0x1000) is an invalid culture identifier.</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Globalization.CultureInfo.InitializeFromCultureId(Int32 culture, Boolean useUserOverride)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Globalization.CultureInfo..ctor(Int32 culture, Boolean useUserOverride)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at MediaPortal.UI.Players.Video.VideoPlayer.SetPreferedAudio_intern(StreamInfoHandler& audioStreams, Boolean useFirstAsDefault)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at MediaPortal.UI.Players.Video.VideoPlayer.EnumerateStreams(Boolean forceRefresh)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at MediaPortal.UI.Players.Video.VideoPlayer.EnumerateStreams()</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at MediaPortal.UI.Players.Video.VideoPlayer.get_Subtitles()</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at MediaPortal.UiComponents.Media.Models.BaseVideoPlayerUIContributor.Update()</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at MediaPortal.UI.Presentation.Models.BaseTimerControlledModel.OnTimerElapsed(Object sender)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Threading.TimerQueueTimer.CallCallback()</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Threading.TimerQueueTimer.Fire()</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Threading.TimerQueue.FireNextTimers()</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Threading.TimerQueue.AppDomainTimerCallback()</div>
<p> </p>
<p><a href="http://forum.team-mediaportal.com/threads/crashes-on-every-video.132123">http://forum.team-mediaportal.com/threads/crashes-on-every-video.132123</a></p>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> </div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">[2015-09-18 19:27:22,702] [11968 ] [29 ] [ERROR] - ApplicationLauncher: Unhandled exception in application</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">System.Globalization.CultureNotFoundException: Culture is not supported.</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Parameter name: culture</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">4096 (0x1000) is an invalid culture identifier.</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Globalization.CultureInfo.InitializeFromCultureId(Int32 culture, Boolean useUserOverride)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Globalization.CultureInfo..ctor(Int32 culture, Boolean useUserOverride)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at MediaPortal.UI.Players.Video.VideoPlayer.SetPreferedAudio_intern(StreamInfoHandler& audioStreams, Boolean useFirstAsDefault)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at MediaPortal.UI.Players.Video.VideoPlayer.EnumerateStreams(Boolean forceRefresh)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at MediaPortal.UI.Players.Video.VideoPlayer.EnumerateStreams()</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at MediaPortal.UI.Players.Video.VideoPlayer.get_Subtitles()</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at MediaPortal.UiComponents.Media.Models.BaseVideoPlayerUIContributor.Update()</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at MediaPortal.UI.Presentation.Models.BaseTimerControlledModel.OnTimerElapsed(Object sender)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Threading.TimerQueueTimer.CallCallback()</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Threading.TimerQueueTimer.Fire()</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Threading.TimerQueue.FireNextTimers()</div>
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"> at System.Threading.TimerQueue.AppDomainTimerCallback()</div>
<p> </p>
<p><a href="http://forum.team-mediaportal.com/threads/crashes-on-every-video.132123">http://forum.team-mediaportal.com/threads/crashes-on-every-video.132123</a></p>