Issue 353: Custom view info lost with upgrade; cannot use Customize View

Status:closed
Assigned To:Guest
Type:Defect
Area:Topograph
Priority:2
Milestone:3.1
Opened:2014-10-21 15:44 by Evvie Vincow
Changed:2017-10-18 08:45 by Brendan MacLean
Resolved:2017-10-18 08:45 by Brendan MacLean
Resolution:Won't Fix
Closed:2017-10-18 08:45 by Brendan MacLean
2014-10-21 15:44 Evvie Vincow
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()

2014-10-21 16:04 Nick Shulman
resolve as Fixed
Statusopen»resolved
Assigned ToNick Shulman»Evvie Vincow
Should be fixed now.

2014-10-22 18:15 Evvie Vincow
reopen
Statusresolved»open
Assigned ToEvvie Vincow»Nick Shulman
I tried using Customize View with the new version. All the proteins disappeared from the half-life display, and instead of CustomView1, the drop-down listed "default1." I tried going back to the default view, and the half-lives did not reappear. I am currently recalculating the half-lives under Default view in an attempt to get them to show up again.

2017-10-18 08:45 Brendan MacLean
resolve as Won't Fix
Statusopen»resolved
Assigned ToNick Shulman»Evvie Vincow
Not really maintaining Topograph any longer.

2017-10-18 08:45 Brendan MacLean
close
Statusresolved»closed
Assigned ToEvvie Vincow»Guest