Page 1 of 2

Critical Error (help)

Posted: 2020-07-29 06:25
by Layzdz

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2020-07-29T14:23:15

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

Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.

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: Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception. ---> System.Runtime.InteropServices.COMException: The operation completed successfully. (Exception from HRESULT: 0x80070000)
   at System.Windows.Media.ColorContext.FromRawBytes(Byte[] data, Int32 dataLength, Boolean dontThrowException)
   at System.Windows.Media.ColorContext.FromStream(Stream stm, String filename)
   at System.Windows.Media.ColorContext..ctor(PixelFormat pixelFormat)
   at System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
   at System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
   at System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
   at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
   at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at -.n.InitializeComponent()
   at -.n..ctor()
   at -.f.d.a(Object a, EventArgs b)
   at PRLauncher.WPF.ViewModel.Pages.LoginPageViewModel.n.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Can someone help me? I tried reinstall it 3x but its still the same error

Re: Critical Error (help)

Posted: 2020-07-29 08:45
by Mats391
What operating system are you using?

Re: Critical Error (help)

Posted: 2020-07-31 02:28
by Layzdz
i use 64 bit

Re: Critical Error (help)

Posted: 2020-07-31 05:26
by Mats391
Layzdz wrote:i use 64 bit
Windows XP, 7, 8, 10???

Re: Critical Error (help)

Posted: 2020-07-31 05:46
by Layzdz
windows 10

Re: Critical Error (help)

Posted: 2020-07-31 06:54
by Mats391
Weird. Try reinstalling .net Framework 4.6 or 4.7.2. Never seen this error on Win10, only on Win XP

Re: Critical Error (help)

Posted: 2020-08-01 07:45
by Layzdz
it doesn't work reinstalling .net framework it still has the same error

Re: Critical Error (help)

Posted: 2020-08-01 08:38
by AlonTavor
Open "Color Management" in windows, go to advanced, and set everything to default.

Re: Critical Error (help)

Posted: 2021-05-26 14:29
by Sd_Reis
AlonTavor wrote:Open "Color Management" in windows, go to advanced, and set everything to default.
Mine has the same error.

Re: Critical Error (help)

Posted: 2021-05-26 15:12
by AlonTavor
Go to Color Management -> Advanced and take a screenshot

Re: Critical Error (help)

Posted: 2021-05-26 16:08
by Sd_Reis
AlonTavor wrote:Go to Color Management -> Advanced and take a screenshot
sorry but I didn't understand, is it for me to take a picture of the error ??

Re: Critical Error (help)

Posted: 2021-05-26 16:45
by AlonTavor
in Windows click start, type "Color management", click advanced, take a screenshot and show me

Re: Critical Error (help)

Posted: 2021-05-26 18:50
by Sd_Reis
AlonTavor wrote:in Windows click start, type "Color management", click advanced, take a screenshot and show me
I couldn't put the image anymore put it in #chetd Discord support

Re: Critical Error (help)

Posted: 2021-05-26 22:55
by AlonTavor
I don't see it. use https://imgur.com/

???????? ? ???????? ????. (?????? 1.6.)

Posted: 2021-06-05 17:17
by ArteSS
Image

??? ??????? ???? ??? ???????? ?????? ?????? ??????.
?????? ??? ?????????? ??? ?????? ?????????

Re: Critical Error (help)

Posted: 2021-06-06 16:36
by superman118cz
Hello i also got this error after i redownload game 3-4 times.

here log:

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2021-06-06T18:09:13

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

Zadání hodnoty v System.Windows.Baml2006.TypeConverterMarkupExtension vyvolalo výjimku.

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

Re: Critical Error (help)

Posted: 2021-06-06 17:06
by AlonTavor
Go to Color management in Windows, click advanced, and take a screenshot.

Re: Critical Error (help)

Posted: 2021-09-05 05:51
by Twitchy115

Re: Critical Error (help)

Posted: 2021-09-05 08:34
by Mats391
Please get the program proc dump (see here). Then use it like this

Code: Select all

procdump.exe -ma -e 1 -f "TypeConverter" -w PRLauncher.exe
and launch PR. With that command procdump will wait for a process called PRLauncher.exe and then monitor it for exceptions that include TypeConverter. It should create a .dmp file next to the procdump.exe once you crash. We need that file to further investigate the issue

Re: Critical Error (help)

Posted: 2021-09-05 18:18
by Twitchy115
Are you sure I need this program? I'm not crashing to desktop, it just throws an unhandled exception.

Also, following the instructions given, the prodump program just launches, closes, then does nothing. Doesn't close PR, doesn't create a dump file, nada.