StrataFrame Forum

Error on Customize Wizard

http://forum.strataframe.net/Topic22867.aspx

By Mike Tomlin - 4/23/2009

In the Business Object Mapper (latest beta) I get the following error when I click on the Customise Wizard and a 'Searching... Populating Tree View' box that sticks on the screen and won't clear until VS is shut down.

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

Source     : MicroFour StrataFrame AddIns

Stack Trace:
   at MicroFour.StrataFrame.AddIns.DTEprojectsBO.FillProjects(String[] ProjectPaths)
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderCustomizeWizard.ᜀ(ᜎ A_0)
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderCustomizeWizard.ᜀ()
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderCustomizeWizard.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
   at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
   at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.SetVisibleCore(Boolean value)
   at System.Windows.Forms.Control.set_Visible(Boolean value)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.RunDialog(Form form)
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at System.Windows.Forms.Form.ShowDialog()
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜃ()

Thanks

Mike

By Mike Tomlin - 4/23/2009

Further info... I had a second old project ('Setup') in the Available Projects list with the red cross on it. Removed this and the wizard works OK.
By Trent L. Taylor - 4/27/2009

This isn't making any sense, really.  The first thing I would make sure of is that your structures are up to date.  Re-run the StrataFrame install and make sure that you update your structures.  This would be the only reason I could see this happening off the top of my head.
By Govinda Berrio - 5/29/2009

I'm getting the same error when attempting to use the customize wizard from the BO Mapper. I'm sure I installed the database when I installed this version of SF. If the structure was a problem wouldn't I have problems with other project? I don't, I can open the Customize Wizard for other project fine.



There's got to be another way to troubleshoot this besides re-installing the framework and database.



Any hints would be appreciated.



Thanks,

Govinda
By Trent L. Taylor - 6/1/2009

Does this happen in all of your solutions? Do you get this as soon as you go into the Customization Wizard or do you have to execute a search? If you create a new test or sample project and go in, does the error persist? Thanks.