Matt,
Thanks for the quick reply. To give you some further info:
- I run Windows XP Prof (up to date) as a Virtual Box inside a Lenovo T61P laptop running Ubuntu Jaunty.
- I have VS 2008 and SQL 2008 installed
- I have installed NORMA using the bat file
- Below I have printed the recorded stack trace
- The error happens with every object I pick from the toolbox
- I tried resetting the toolbox, but still the error appeared
The callstack reads:
System.NullReferenceException was unhandled
Message="Object reference not set to an instance of an object."
Source="ORMSolutions.ORMArchitect.Core.VS2008"
StackTrace:
at ORMSolutions.ORMArchitect.Core.ObjectModel.FactType.<GetForcedHierarchyContextElements>d__6b.MoveNext()
at ORMSolutions.ORMArchitect.Core.Shell.ORMContextWindow.GetRelatedContextableElements(IHierarchyContextEnabled element, Int32 generations)
at ORMSolutions.ORMArchitect.Core.Shell.ORMContextWindow.PlaceObject(IHierarchyContextEnabled element)
at ORMSolutions.ORMArchitect.Core.Shell.ORMContextWindow.DrawDiagram(Boolean refresh, ModelElement element, IHierarchyContextEnabled hierarchyElement)
at ORMSolutions.ORMArchitect.Core.Shell.ORMContextWindow.DrawDiagram(Boolean refresh)
at ORMSolutions.ORMArchitect.Core.Shell.ORMContextWindow.DrawDiagram()
at ORMSolutions.ORMArchitect.Core.Shell.ORMContextWindow.OnORMSelectionContainerChanged()
at ORMSolutions.ORMArchitect.Core.Shell.ORMToolWindow.ActivatorSelectionContainerChanged(ToolWindowActivationHelper`3 activator)
at ORMSolutions.ORMArchitect.Core.Shell.ORMToolWindow.ORMSolutions.ORMArchitect.Framework.Shell.INotifyToolWindowActivation<ORMSolutions.ORMArchitect.Core.Shell.ORMDesignerDocData,Microsoft.VisualStudio.Modeling.Shell.DiagramDocView,ORMSolutions.ORMArchitect.Core.Shell.IORMSelectionContainer>.ActivatorSelectionContainerChanged(ToolWindowActivationHelper`3 activator)
at ORMSolutions.ORMArchitect.Framework.Shell.ToolWindowActivationHelper`3.IntraContainerSelectionChanged(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at Microsoft.VisualStudio.Modeling.Shell.ModelingWindowPane.OnSelectionChanged(EventArgs e)
at Microsoft.VisualStudio.Modeling.Shell.DiagramDocView.OnSelectionChanged(EventArgs e)
at ORMSolutions.ORMArchitect.Framework.Shell.MultiDiagramDocView.OnSelectionChanged(EventArgs e)
at ORMSolutions.ORMArchitect.Core.Shell.ORMDesignerDocView.OnSelectionChanged(EventArgs e)
at Microsoft.VisualStudio.Modeling.Shell.ModelingWindowPane.SetSelectedComponents(ICollection components)
at Microsoft.VisualStudio.Modeling.Shell.VSDiagramView.OnShapeSelectionChanged(Object sender, EventArgs e)
at Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection.OnShapeSelectionChanged(EventArgs e)
at Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection.InternalSetSelection(DiagramItemCollection proposedItemsToAdd, DiagramItemCollection proposedItemsToRemove, DiagramItem proposedPrimaryItem, Boolean clearSelection)
at Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection.Set(DiagramItemCollection diagramItems)
at Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection.Set(DiagramItem diagramItem)
at Microsoft.VisualStudio.Modeling.Diagrams.SelectAction.ReplaceSelection(SelectedShapesCollection selection, DiagramItem selectableItem, DiagramItem focusableItem, Boolean preserveSelectionIfItemAlreadySelected, DiagramClientView view)
at Microsoft.VisualStudio.Modeling.Diagrams.SelectAction.Select(DiagramMouseEventArgs mouseArgs)
at Microsoft.VisualStudio.Modeling.Diagrams.SelectAction.OnMouseDown(DiagramMouseEventArgs e)
at ORMSolutions.ORMArchitect.Core.ShapeModel.RoleDragPendingAction.OnMouseDown(DiagramMouseEventArgs e)
at Microsoft.VisualStudio.Modeling.Diagrams.MouseAction.InvokeMouseActionEventMethods(MouseActionEvent mouseActionEvent, DiagramEventArgs diagramArgs)
at Microsoft.VisualStudio.Modeling.Diagrams.MouseAction.FlushInternalEventQueue()
at Microsoft.VisualStudio.Modeling.Diagrams.MouseAction.MouseDown(DiagramMouseEventArgs mouseArgs)
at Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView.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)
InnerException: