Page 1 of 1

An unhandled exception has occured

Posted: 2021-02-06 00:25
by roimir
Could you help me with that error? I went through other threads, but the solutions presented there didn't help in my case (e.g. updating video drivers). I didn't try formating my hard drive (it helped someone), but for now I am looking for less "aggressive" approach

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2021-02-06T03:17:12

Critical Error: An unhandled exception has occured. Details are as follows:

?????????????? ???????? ??? "System.Windows.Baml2006.TypeConverterMarkupExtension" ??????? ??????????.

Further details can be found in the following file:

[url]C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr\bin\PRLauncher.log[/url]

Please report this error to the Project Reality Team, and include the log file in your report.

[url=https://www.realitymod.com/forum/forumdisplay.php?f=27]Visit Support Forum[/url]

 > System.Windows.Markup.XamlParseException: ?????????????? ???????? ??? "System.Windows.Baml2006.TypeConverterMarkupExtension" ??????? ??????????. ---> System.OverflowException: ??? ????????? ?????? ??????????? ????????? ????????????. ---> System.ArithmeticException: ???????????? ??? ?????? ???????? ? ?????????????? ????????.
   --- ????? ??????????? ??????????? ????? ?????????? ---
   ? System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()
   ? System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   ? System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   ? System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   ? System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   ? System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   ? System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   ? MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
   --- ????? ??????????? ??????????? ????? ?????????? ---
   ? System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   ? System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   ? System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   ? System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   ? -.n.InitializeComponent()
   ? -.n..ctor()
   ? -.f.d.a(Object a, EventArgs b)
   ? PRLauncher.WPF.ViewModel.Pages.LoginPageViewModel.OnOffline(Object a)
   ? Reality.Utils.WPF.RelayCommand.Execute(Object )
   ? MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   ? System.Windows.Documents.Hyperlink.OnClick()
   ? System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender)
   ? System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e)
   ? System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   ? System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   ? System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   ? System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   ? System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   ? System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   ? System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   ? System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   ? System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   ? System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
   ? System.Windows.Input.InputManager.ProcessStagingArea()
   ? System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   ? System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   ? System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   ? System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   ? System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   ? MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   ? MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   ? System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   ? System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Re: An unhandled exception has occured

Posted: 2021-02-10 17:30
by Suchar
Please provide PR Support Info. Go to Launcher ---> Support, click Copy To Clipboard and paste here.

Re: An unhandled exception has occured

Posted: 2021-03-11 20:41
by roimir
I'm sorry, but I can't find the "support" button/file neither in the launcher before logging in through steam (there is nothing except for "options", "help" and so on, which could resemble that "Support") nor in file directories of the game. There is a problem with entering the launcher as that error occurs right after I try to log in through Steam or press "play offline".

P.S. sorry for missing out

Re: An unhandled exception has occured

Posted: 2021-03-16 21:20
by Twitchy115
I'm having the same issue as Roimir, is there any fix yet?