Divign Log 6.0 crashed and gave this error when trying to run DL 6.0 after upgrading the app from 5.0. It is odd though, since I was successful on my laptop and my other desktop...
Any suggestions? Thanks
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'DevExpress.Xpf.Gauges.ArcScale' that matches the specified binding constraints threw an exception.
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 System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1_0(Object unused)
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)
System.TypeInitializationException: The type initializer for 'DevExpress.Xpf.Gauges.Scale' threw an exception.
at DevExpress.Xpf.Gauges.Scale.get_LineOptions()
at DevExpress.Xpf.Gauges.Scale.get_ActualLineOptions()
at DevExpress.Xpf.Gauges.Scale..ctor()
at DevExpress.Xpf.Gauges.ArcScale..ctor()
at System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.InvokeDelegate(Action`1 action, Object argument)
at System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.CallCtorDelegate(XamlTypeInvoker type)
at System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.CreateInstance(XamlTypeInvoker type)
at System.Xaml.Schema.XamlTypeInvoker.CreateInstance(Object[] arguments)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor(XamlType xamlType, Object[] args)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance(XamlType xamlType, Object[] args)
System.InvalidProgramException: JIT Compiler encountered an internal limitation.
at DevExpress.Xpf.Gauges.Scale..cctor()
Diving Log Version: 6.0.35.2
Windows Version: Windows 11 (25H2 | Build 26200)
Crash running DL 6.0 after trying to upgrade from 5.0
Re: Crash running DL 6.0 after trying to upgrade from 5.0
Replying to my own post. I resolved.
I had to manually delete the folders for C:\Program Files (x86)\Diving Log 5.0 and C:\Program Files (x86)\Diving Log 6.0 (which required a reboot) then I re-installed Diving Log 6.0. This fixed the issue.
I had to manually delete the folders for C:\Program Files (x86)\Diving Log 5.0 and C:\Program Files (x86)\Diving Log 6.0 (which required a reboot) then I re-installed Diving Log 6.0. This fixed the issue.
Re: Crash running DL 6.0 after trying to upgrade from 5.0
Thank you, I'm glad you were able to solve this!