Update - I reinstalled the Wybuild and seems to be working ok now? Do you have any idea why this would happen? It worked well the day before then when I went to open a previous project I received the above error?
Thanks Greg
When I open my Wybuild program I get the exception error immediately?
ust-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************System.NullReferenceException: Object reference not set to an instance of an object. at wyBuild.Settings.LoadLanguages() at wyBuild.frmMain.SetupLanguagePanel() at wyBuild.frmMain.SetupDesigner() at wyBuild.frmMain.OpenProjectFile(String filename, Boolean addToProjectHistroy) at wyBuild.frmMain.ProjectHistoryList_HistoryClicked(Object sender, ProjectHistory p) at wyDay.Controls.HistoryList.HistoryItem_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at wyDay.Controls.HistoryItem.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at wyDay.Controls.HistoryItem.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------wybuild Assembly Version: 2.6.18.4 Win32 Version: 2.6.18.4 CodeBase: file:///C:/Program%20Files%20(x86)/wyBuild/wybuild.exe----------------------------------------System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------Controls Assembly Version: 2.6.18.0 Win32 Version: 2.6.18.0 CodeBase: file:///C:/Program%20Files%20(x86)/wyBuild/Controls.DLL----------------------------------------System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll----------------------------------------System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------
************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.
For example:
<configuration> <system.windows.forms jitDebugging="true" /></configuration>
When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box.
ThanksGreg
Update - I reinstalled the Wybuild and seems to be working ok now? Do you have any idea why this would happen? It worked well the day before then when I went to open a previous project I received the above error?
Thanks Greg
We haven't been able to reproduce this. It sounds like it might have been caused by you modifying the files in the wyBuild directory (hence reinstalling wyBuild fixes the problem). Did you add, remove, or change files in that directory? If so, which ones and how did you change it?