Windows 10 .NET Runtime and Application Error trying to start an application in Windows 10

  • Thread starter Thread starter Nick Dunkle (nick)
  • Start date Start date
N

Nick Dunkle (nick)

I am trying to open an application that worked last week. Now it opens, loads for a second or so, then closes. These are the errors I get when going into event viewer (the first error is the .NET Runtime error):


Application: ThermoStartUp.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.NullReferenceException

at ThermoStartUp.ViewModels.MainWindowViewModel.OnLogIn(System.Object, System.EventArgs)

at Neogramm.Automation.User.UserSystem.updateOnLogInHandler(Neogramm.Automation.User.LogInEvent)

at Neogramm.Automation.User.UserSystem.LogIn(System.String, System.String)

at ThermoStartUp.ViewModels.MainWindowViewModel..ctor(System.Collections.Generic.List`1<Thermosoft.IFurnace>)

at ThermoStartUp.ThermoViewModelFactory.CreateMainWindowViewModel(System.Collections.Generic.List`1<Thermosoft.IFurnace>)

at ThermosoftWpf.StartUpWindow.InitializeThermosoft(System.Collections.Generic.List`1<Thermosoft.IFurnace>)

at ThermosoftWpf.StartUpWindow..ctor(ThermosoftWpf.ViewModels.StartUpViewModel, System.Collections.Generic.List`1<Thermosoft.IFurnace>)

at ThermoStartUp.Start..ctor()



Exception Info: System.Reflection.TargetInvocationException

at System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)

at System.RuntimeType.CreateInstanceSlow(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)

at System.RuntimeType.CreateInstanceDefaultCtor(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)

at System.Activator.CreateInstance(System.Type, Boolean)

at System.RuntimeType.CreateInstanceImpl(System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, System.Object[], System.Threading.StackCrawlMark ByRef)

at System.Activator.CreateInstance(System.Type, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, System.Object[])

at System.Activator.CreateInstance(System.Type, System.Object[])

at System.Xaml.Schema.SafeReflectionInvoker.CreateInstanceCritical(System.Type, System.Object[])

at System.Xaml.Schema.SafeReflectionInvoker.CreateInstance(System.Type, System.Object[])

at System.Xaml.Schema.XamlTypeInvoker.CreateInstance(System.Object[])

at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor(System.Xaml.XamlType, System.Object[])

at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance(System.Xaml.XamlType, System.Object[])

at System.Xaml.XamlObjectWriter.Logic_CreateAndAssignToParentStart(MS.Internal.Xaml.Context.ObjectWriterContext)

at System.Xaml.XamlObjectWriter.WriteStartMember(System.Xaml.XamlMember)

at System.Xaml.XamlWriter.WriteNode(System.Xaml.XamlReader)

at System.Windows.Markup.WpfXamlLoader.TransformNodes(System.Xaml.XamlReader, System.Xaml.XamlObjectWriter, Boolean, Boolean, Boolean, System.Xaml.IXamlLineInfo, System.Xaml.IXamlLineInfoConsumer, MS.Internal.Xaml.Context.XamlContextStack`1<System.Windows.Markup.WpfXamlFrame>, System.Windows.Markup.IStyleConnector)

at System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)

at System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)

at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)

at System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream, System.Windows.Markup.ParserContext)

at System.Windows.Application.LoadComponent(System.Uri, Boolean)

at System.Windows.Application.DoStartup()

at System.Windows.Application.<.ctor>b__1_0(System.Object)

at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)

at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)

at System.Windows.Threading.DispatcherOperation.InvokeImpl()

at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(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.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)

at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)

at System.Windows.Threading.DispatcherOperation.Invoke()

at System.Windows.Threading.Dispatcher.ProcessQueue()

at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)

at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)

at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)

at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)

at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)

at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)

at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)

at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)

at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)

at System.Windows.Application.RunDispatcher(System.Object)

at System.Windows.Application.RunInternal(System.Windows.Window)

at System.Windows.Application.Run(System.Windows.Window)

at System.Windows.Application.Run()

at ThermoStartUp.App.Main()



********************************************************************************************************

APPLICATION ERROR



Faulting application name: ThermoStartUp.exe, version: 1.0.7.0, time stamp: 0x5a722cfb

Faulting module name: KERNELBASE.dll, version: 10.0.19041.488, time stamp: 0x42f14898

Exception code: 0xe0434352

Fault offset: 0x00129962

Faulting process id: 0x718

Faulting application start time: 0x01d6f5b40ccc5916

Faulting application path: D:\ThermosoftSetup\program files\Thermosoft\ThermoStartUp.exe

Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll

Report Id: d415e4c4-6941-4042-96d3-516434d54a87

Faulting package full name:

Faulting package-relative application ID:

Continue reading...
 
Back
Top