MassHunter Quantitative analysis (10.0) - Error

Good day. Faced the following problem.

UnknownsAnalysisWPF has encountered a problem and needs to close.

We are sorry for the inconvenience.

Error details:
Assembly: C:\Program Files\Agilent\MassHunter\Workstation\Quant\bin\Agilent.MassHunter.UnknownsAnalysis.UI.exe
Assembly version: 10.0.707.0
Exception:
System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderColumnFormats.Read4_ColumnFormats()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at Agilent.MassSpectrometry.DataAnalysis.UnknownsAnalysisII.Configuration.ColumnFormats.Initialize()
at Agilent.MassSpectrometry.DataAnalysis.UnknownsAnalysisII.Configuration.UserSettings.get_ColumnFormats()
at Agilent.MassHunter.UnknownsAnalysis.UI.App.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at Agilent.MassHunter.UnknownsAnalysis.UI.App.Main()

Maybe someone has come across this?

  • Hello  ,

    For errors of this type the first thing to try would be running the Quant Restore User Settings tool. Before doing this make certain you have any custom column or screen layouts saved in Quant, UA, and the Library Editor (if they can be launched). Also make note of what report methods you are using, as this information will also be cleared when you use the tool. Then close all open copies of Quant, UA, and the Library Editor and run the tool. 

    The Restore User Settings tool can be found in the Windows Start menu under Agilent MassHunter Quantitative->Quantitative Analysis Tools->Restore User Settings.

Was this helpful?