tgibson
Resource contributor
- Messages
- 11,829
- Country

Hi,
If you have the Hierarchy Editor open and Import a new MDL file, MCX hangs for a bit (not responding) and then this exception occurs:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at ASToFra.ModelConverterX.HierarchyEditor.<UpdateTree>b__17_1(Object model)
at BrightIdeasSoftware.TreeListView.TreeRenderer.HandleHitTest(Graphics g, OlvListViewHitTestInfo hti, Int32 x, Int32 y)
at BrightIdeasSoftware.BaseRenderer.HitTest(OlvListViewHitTestInfo hti, Int32 x, Int32 y)
at BrightIdeasSoftware.ObjectListView.OlvHitTest(Int32 x, Int32 y)
at BrightIdeasSoftware.ObjectListView.BuildCellEvent(CellEventArgs args, Point location)
at BrightIdeasSoftware.ObjectListView.HandleMouseMove(Point pt)
at BrightIdeasSoftware.ObjectListView.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
If you click Continue things appear to be OK.
If you have the Hierarchy Editor open and Import a new MDL file, MCX hangs for a bit (not responding) and then this exception occurs:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at ASToFra.ModelConverterX.HierarchyEditor.<UpdateTree>b__17_1(Object model)
at BrightIdeasSoftware.TreeListView.TreeRenderer.HandleHitTest(Graphics g, OlvListViewHitTestInfo hti, Int32 x, Int32 y)
at BrightIdeasSoftware.BaseRenderer.HitTest(OlvListViewHitTestInfo hti, Int32 x, Int32 y)
at BrightIdeasSoftware.ObjectListView.OlvHitTest(Int32 x, Int32 y)
at BrightIdeasSoftware.ObjectListView.BuildCellEvent(CellEventArgs args, Point location)
at BrightIdeasSoftware.ObjectListView.HandleMouseMove(Point pt)
at BrightIdeasSoftware.ObjectListView.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
If you click Continue things appear to be OK.
