This project has moved. For the latest updates, please go here.

System.NullReferenceException: Object reference not set to an instance of an object.

Mar 3, 2012 at 8:15 PM

When I try to create a New project I get a "System.NullReferenceException: Object reference not set to an instance of an object." error. I've tried re-installing, re-installing the CodeSmith DLL,  I have UAC disabled, running cslagenFork in administrator mode and a few other things.

What else could I try or am I doing something wrong?

System.NullReferenceException: Object reference not set to an instance of an object.
   at CslaGenerator.MainForm.NewToolStripMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Coordinator
Mar 4, 2012 at 2:46 PM

Hi,

This is an issue #890 Crash when click File/New Project.

It's fixed. Can you grab the source?

Mar 4, 2012 at 5:21 PM

I got the latest source. It fixed the problem. Thank you.