StrataFrame Forum

Error using Customize Wizard in BO Mapper

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

By Tim Dol - 5/16/2007

I get the following error trying to use the customize wizard (SF 1.6). Any ideas Why?


Thanks

Tim

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()

By Tim Dol - 5/17/2007

I re-installed SF 1.6 and still have the error.
By Tim Dol - 5/18/2007

Any update on on this?  It's very slow editing one field at a time.

Thanks,

Tim

By StrataFrame Team - 5/21/2007

Sorry, Tim, didn't notice this the first time you posted it.

Are you getting the same error when you launch the BOMapper?  or just when you launch the Customization Wizard?  I am looking at the code for that FillProjects() method, and the only thing I can see that would be throwing a null reference would be the My.Computer.Name.  The parameter that is passed in is passed as a New String() {}, so it has a reference, and we don't talk to the individual elements of the array, so if one of them is null, it won't throw anything. 

The other place where that method is called is during the launching of the BOMapper.

By Tim Dol - 5/22/2007

No problem Ben...  The error occurs when I launch the Customize Wizard.  Everything else seems to work fine.

Tim

By StrataFrame Team - 5/22/2007

I'll try to get you a build of the DLL that contains some message boxes that will tell us which of those is null, because I don't see how any of them could be...
By Tim Dol - 5/22/2007

Thanks
By StrataFrame Team - 5/25/2007

I emailed you the DLL containing the debug info... let me know what happens when you try to open the Customization Wizard.
By Tim Dol - 5/25/2007

Thanks Ben. I emailed you the results. I still received the original error.

Tim

By Rogerio Mauri - 8/18/2007

Also I am with this problem in version 1.6.1 Crying