Not possible to view chromatogram library Andreas Hober  2019-11-26 07:19:17
 

Hi,
I have been working quite a lot with Panorama for building chromatogram libraries and it has worked splendidly. However, the libraries that I have downloaded lately have all been corrupt in some way and I cannot view the chromatograms in Skylines, but I can clearly view them in the corresponding Panorama project.

Is there anything I can do in order to solve this or is there some issue which the creation of the .clib on the server?
I have attached the error message that I receive below.

Best regards
Andreas

Installation ID: cfcf80a6-7631-4cba-8bf1-6cbb20a1ff50
Exception type: NullReferenceException
Error message: Object reference not set to an instance of an object.

--------------------

Stack trace:

   at pwiz.Skyline.Model.Lib.ChromLib.ChromatogramLibrary.ReadChromatogram(ChromLibSpectrumInfo info) in C:\proj\pwiz_x64\pwiz_tools\Skyline\Model\Lib\ChromLib\ChromatogramLibrary.cs:line 96
   at pwiz.Skyline.Model.Lib.CachedLibrary`1.LoadChromatogramData(Object spectrumKey) in C:\proj\pwiz_x64\pwiz_tools\Skyline\Model\Lib\Library.cs:line 1044
   at pwiz.Skyline.SettingsUI.ViewLibraryDlg.UpdateUI(Boolean selectionChanged) in C:\proj\pwiz_x64\pwiz_tools\Skyline\SettingsUI\ViewLibraryDlg.cs:line 697
   at pwiz.Skyline.SettingsUI.ViewLibraryDlg.listPeptide_SelectedIndexChanged(Object sender, EventArgs e) in C:\proj\pwiz_x64\pwiz_tools\Skyline\SettingsUI\ViewLibraryDlg.cs:line 1070
   at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ListBox.set_SelectedIndex(Int32 value)
   at pwiz.Skyline.SettingsUI.ViewLibraryDlg.UpdateListPeptide(Int32 selectPeptideIndex) in C:\proj\pwiz_x64\pwiz_tools\Skyline\SettingsUI\ViewLibraryDlg.cs:line 512
   at pwiz.Skyline.SettingsUI.ViewLibraryDlg.UpdateViewLibraryDlg() in C:\proj\pwiz_x64\pwiz_tools\Skyline\SettingsUI\ViewLibraryDlg.cs:line 311
   at pwiz.Skyline.SettingsUI.ViewLibraryDlg.ViewLibraryDlg_Load(Object sender, EventArgs e) in C:\proj\pwiz_x64\pwiz_tools\Skyline\SettingsUI\ViewLibraryDlg.cs:line 222
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at pwiz.Skyline.Util.FormEx.OnLoad(EventArgs e) in C:\proj\pwiz_x64\pwiz_tools\Skyline\Util\FormEx.cs:line 198
   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.Form.WmShowWindow(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.Control.WndProcException(Exception e)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
   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 System.Windows.Forms.Form.Show(IWin32Window owner)
   at pwiz.Skyline.SkylineWindow.OpenLibraryExplorer(String libraryName) in C:\proj\pwiz_x64\pwiz_tools\Skyline\Skyline.cs:line 2921
   at pwiz.Skyline.SkylineWindow.ViewSpectralLibraries() in C:\proj\pwiz_x64\pwiz_tools\Skyline\Skyline.cs:line 2871
   at pwiz.Skyline.SkylineWindow.spectralLibrariesToolStripMenuItem_Click(Object sender, EventArgs e) in C:\proj\pwiz_x64\pwiz_tools\Skyline\Skyline.cs:line 2840
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   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)
   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.Skyline.Program.Main(String[] args) in C:\proj\pwiz_x64\pwiz_tools\Skyline\Program.cs:line 305


 
 
Nick Shulman responded:  2019-11-26 10:49:11
Andreas,

Can you send us your Skyline document?
In Skyline, you can use the menu item:
File > Share
to create a .zip file containing your Skyline document and supporting files including that .clib file.

You can upload that .zip file here:
https://skyline.ms/files.url

It might be sufficient to just send us the .clib file if that's easier.
Or if you want to point me at the particular folder on the Panorama server where you got the .clib file, that might work too.
-- Nick
 
Andreas Hober responded:  2019-11-27 04:58:19
Hi,
I uploaded the skyline file to the directory above.

Best regards
/Andreas