MainFormLocation nullref on startup

Description

Nullref occurs when starting the program. This prevents the UI from being fully presented to the user.

System.NullReferenceException occurred
HResult=-2147467261
Message=Object reference not set to an instance of an object.
Source=mRemoteNG
StackTrace:
at mRemoteNG.Settings.get_MainFormLocation() in C:\Users\David\Documents\Repositories\mRemoteNG\mRemoteV1\Properties\Settings.Designer.cs:line 30

Call stack:

  • mRemoteNG.exe!mRemoteNG.Settings.MainFormLocation.get() Line 30 - mRemoteNG.exe!mRemoteNG.Config.Settings.SettingsLoader.SetApplicationWindowPositionAndSize() Line 99

  • mRemoteNG.exe!mRemoteNG.Config.Settings.SettingsLoader.LoadSettings() Line 46

  • mRemoteNG.exe!mRemoteNG.UI.Forms.frmMain.frmMain_Load(object sender, System.EventArgs e) Line 173

  • mRemoteNG.exe!mRemoteNG.UI.Forms.frmMain.WndProc(ref System.Windows.Forms.Message m) Line 1155

  • mRemoteNG.exe!mRemoteNG.App.ProgramRoot.Main(string[] args) Line 17

Environment

None

Status

Assignee

David Sparer

Reporter

David Sparer

Labels

Fix versions

Affects versions

Priority

Blocker
Configure