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()
Thanks,
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.