PAL GUI - .NET XML exception upon startup

Oct 8, 2009 at 6:19 PM

I haven't had any problems with PAL but a fellow colleague who has started using it has the following issue.

PAL worked the first time my colleague installed PAL, but then on the 2nd and subsequent runs, PAL (GUI) throws the following exception upon startup. Ignore exception (via continue) and GUI starts up ok, but then the XML threshold template list is either blank (most of the time), or it only lists some of the templates. Click the refresh button again may throw the exception and may help show/reveal some templates, if list was blank to begin with.

I didn't ask (can follow up), but I think he's running PAL v1.3.4.2 as that is the version I archived on our workplace fileshare.

The exception text is pasted below. Any help is appreciated with regards to what could be causing the problem. We tried uninstall + reinstalling PAL to no effect. Hopefully it's not a .NET Framework install problem as that would be a pain to reinstall.


See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.


************** Exception Text **************

System.Xml.XmlException: There are multiple root elements. Line 26, position 4.

   at System.Xml.XmlTextReaderImpl.Throw(Exception e)

   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)

   at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res)

   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

   at System.Xml.XmlTextReaderImpl.Read()

   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)

   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)

   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)

   at System.Xml.XmlDocument.Load(XmlReader reader)

   at System.Xml.XmlDocument.Load(String filename)

   at PALWizard.frmPALExecutionWizard.ReadAnalysisCollectionFilesIntoMemory() in C:\Users\clinth\Documents\~MyDocs\~Projects\PAL\PALWizard\frmPALExecutionWizard.vb:line 188

   at PALWizard.frmPALExecutionWizard.ThresholdFilePageRefresh() in C:\Users\clinth\Documents\~MyDocs\~Projects\PAL\PALWizard\frmPALExecutionWizard.vb:line 234

   at PALWizard.frmPALExecutionWizard.frmPALExecutionWizard_Load(Object sender, EventArgs e) in C:\Users\clinth\Documents\~MyDocs\~Projects\PAL\PALWizard\frmPALExecutionWizard.vb:line 28

   at System.EventHandler.Invoke(Object sender, EventArgs e)

   at System.Windows.Forms.Form.OnLoad(EventArgs e)

   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.ScrollableControl.WndProc(Message& m)

   at System.Windows.Forms.ContainerControl.WndProc(Message& m)

   at System.Windows.Forms.Form.WmShowWindow(Message& m)

   at System.Windows.Forms.Form.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



************** Loaded Assemblies **************


    Assembly Version:

    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)

    CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll



    Assembly Version:

    Win32 Version:

    CodeBase: file:///C:/Program%20Files/PAL/PAL%20v1.3.4.2/PALWizard.exe



    Assembly Version:

    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/



    Assembly Version:

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/



    Assembly Version:

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/



    Assembly Version:

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/



    Assembly Version:

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/



    Assembly Version:

    Win32 Version:

    CodeBase: file:///C:/Program%20Files/PAL/PAL%20v1.3.4.2/PALFunctions.DLL



    Assembly Version:

    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/



    Assembly Version:

    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/



************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the section.

The application must also be compiled with debugging



For example:



    < jitDebugging="true" />



When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.


Oct 12, 2009 at 4:24 PM

It might be faililng due to not finding the threshold XML files in the installation directory. Other than that, I can only speculate on what might be causing it. Try the latest version. If the problem persists, then post the error here.