Title | | » | Custom view info lost with upgrade; cannot use Customize View |
Assigned To | | » | Nick Shulman |
Type | | » | Defect |
Area | | » | Topograph |
Priority | | » | 2 |
Milestone | | » | 3.1 |
Upgrading to the newest Topograph-daily caused my custom view info for half-lives to disappear.
When I tried to re-customize the view, I got the following error message:
10/21/2014 3:41:19 PM Unhandled exception System.NullReferenceException: Object reference not set to an instance of an object.
at pwiz.Common.DataBinding.Controls.Editor.ViewEditor.get_ViewSpec() in C:\Users\nicksh\svn\tpg_daily64\pwiz\pwiz_tools\Shared\Common\DataBinding\Controls\Editor\ViewEditor.cs:line 98
at pwiz.Common.DataBinding.Controls.Editor.ViewEditor..ctor(IViewContext viewContext, ViewInfo viewInfo) in C:\Users\nicksh\svn\tpg_daily64\pwiz\pwiz_tools\Shared\Common\DataBinding\Controls\Editor\ViewEditor.cs:line 71
at pwiz.Common.DataBinding.AbstractViewContext.CreateViewEditor(ViewSpec viewSpec) in C:\Users\nicksh\svn\tpg_daily64\pwiz\pwiz_tools\Shared\Common\DataBinding\AbstractViewContext.cs:line 307
at pwiz.Common.DataBinding.AbstractViewContext.CustomizeOrCreateView(Control owner, ViewSpec viewSpec, String originalName) in C:\Users\nicksh\svn\tpg_daily64\pwiz\pwiz_tools\Shared\Common\DataBinding\AbstractViewContext.cs:line 313
at pwiz.Common.DataBinding.Controls.NavBar.OnCopyView(Object sender, EventArgs eventArgs) in C:\Users\nicksh\svn\tpg_daily64\pwiz\pwiz_tools\Shared\Common\DataBinding\Controls\NavBar.cs:line 238
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Exception caught at:
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at pwiz.Topograph.ui.Program.Main()
10/21/2014 3:42:34 PM Unhandled exception System.NullReferenceException: Object reference not set to an instance of an object.
at pwiz.Common.DataBinding.Controls.Editor.ViewEditor.get_ViewSpec() in C:\Users\nicksh\svn\tpg_daily64\pwiz\pwiz_tools\Shared\Common\DataBinding\Controls\Editor\ViewEditor.cs:line 98
at pwiz.Common.DataBinding.Controls.Editor.ViewEditor..ctor(IViewContext viewContext, ViewInfo viewInfo) in C:\Users\nicksh\svn\tpg_daily64\pwiz\pwiz_tools\Shared\Common\DataBinding\Controls\Editor\ViewEditor.cs:line 71
at pwiz.Common.DataBinding.AbstractViewContext.CreateViewEditor(ViewSpec viewSpec) in C:\Users\nicksh\svn\tpg_daily64\pwiz\pwiz_tools\Shared\Common\DataBinding\AbstractViewContext.cs:line 307
at pwiz.Common.DataBinding.AbstractViewContext.CustomizeOrCreateView(Control owner, ViewSpec viewSpec, String originalName) in C:\Users\nicksh\svn\tpg_daily64\pwiz\pwiz_tools\Shared\Common\DataBinding\AbstractViewContext.cs:line 313
at pwiz.Common.DataBinding.Controls.NavBar.OnCopyView(Object sender, EventArgs eventArgs) in C:\Users\nicksh\svn\tpg_daily64\pwiz\pwiz_tools\Shared\Common\DataBinding\Controls\NavBar.cs:line 238
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Exception caught at:
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at pwiz.Topograph.ui.Program.Main()