StrataFrame Forum

Error running configuration wizard from BO Mapper

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

By Mark Dowlearn - 2/7/2008

Hello,

I've just started receiving an error when attempting to run the Configuration Wizard from the Business Object Mapper.  It has been running successfully prior to this.

The error is:

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.BuildProjectNode(PartialClassBuilderVSProject Project)
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderCustomizeWizard.PopulateTreeView()
   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.Form.ShowDialog(IWin32Window owner)
   at System.Windows.Forms.Form.ShowDialog()
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ShowWizard()

The only thing that has changed recently is that I enabled SQL debugging.

It also leaves a window hanging (Searching ... populating Tree View) when it crashes.

Any ideas what might be causing this?

Mark

By Mark Dowlearn - 2/7/2008

Question answered -- I had unknowingly included a setup project in my solution, and since there are no BOs required in a setup project it threw the configuration wizard for a loop.  Setup project removed = no error.

M

By Trent L. Taylor - 2/7/2008

Cool. Cool
By Keith Chisarik - 1/29/2009

I just ran into this problem, thank you for this solution.

Has this been fixed in 1.7? If not, can it be?

A setup project added to the solution causes error when trying to run Customization Wizard.

By Bill Cunnien - 4/22/2010

I am running 1.7.0.6. It would be nice to have this problem corrected. I did not receive the error that Mark did, but rather the Customization Wizard would simply not fill in the tree list, and the populating list view popup never went away. Only closing the VS IDE put things back to normal. The workaround is to remove the setup project from the solution. While not ideal, it does get me going again and the Customization Wizard works. If this correction could be added to a future release, that would be great!



Also, is there a way to select all string fields in one table only? When I try to select a certain type, all fields in all tables are selected. I have to select each field type manually in the table that I want to work on.



Thanks!

Bill