External Display Unhandled Exception (1 Viewer)

jake78

Portal Pro
July 30, 2005
73
2
Home Country
Sweden Sweden
Area: Media Portal Program
MediaPortal Version: 0.2.1.0 (2006-10-21)
MediaPortal Skin: BlueTwo
Windows Version: Windows XP (SP2)
.NET CLR Version: 2.0.50727
DirectX Version: 4.09.00.0904 (9.0c)
Audio Codec: NVIDIA Audio Decoder
Video Codec: NVIDIA Video Decoder
CPU Type: AMD Athlon XP 2800+
Memory: 511 MB
Motherboard: A7N8X (ASUSTeK Computer INC.)
TV Card Model: Hauppauge PVR 350
TV Card Type: Hardware
TV Card Driver: -
Video Card Model: Nvidia Geforce 6200 (128 MB)
Video Card Driver: -
Video Card Resolution: 1024x768
Video Render Type: -
Audio Card Model: NVIDIA(R) nForce(TM) Audio
Audio Card Driver: -
Synopsis::



After upgrading to 0.2.1.0, I get an error message when trying to enable the External Display plugin for my LCD. I have attached a screenshot. I have tried multiple clean installs but I still get the same error.

// Jacob



Part of the error text:
************** Exception Text **************
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.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSettings.Read20_Settings()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
at ProcessPlugins.ExternalDisplay.Settings.Load()
at ProcessPlugins.ExternalDisplay.SetupForm..ctor()
at ProcessPlugins.ExternalDisplay.ExternalDisplay.ShowPlugin()
at MediaPortal.Configuration.Sections.PluginsNew.itemConfigure_Click(Object sender, EventArgs e)
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.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
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.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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)
 

CHli

Portal Pro
July 5, 2005
1,251
14
Switzerland
Home Country
Switzerland Switzerland
Try to delete the ExternalDisplay.xml and retry (you'll need to reconfigure the plugin). (keep a copy of it if you had done modified anything in this file)


P.S. My 700th post :D
 

flokel

Portal Developer
  • Premium Supporter
  • October 11, 2005
    1,601
    168
    Unterfranken
    Home Country
    Germany Germany
    Hi,

    I'm getting the same error jake78.

    I'm using a soundgraph imon vfd.

    Strange thing is that it worked after doing a fresh install of 0.2.1.0.
    Since a couple of days it simply stopped working.

    At first I got an error message "Unable to cast object of type 'ProcessPlugins.ExternalDisplay.Settings'
    to type 'ProcessPlugins.ExternalDisplay.Settings' ".

    After deleting externaldisplay.xml as suggested I get the same error as jake78.

    Edit: tried externaldisplay.xml of latest svn and also of version 0.2.0.0 without success
     

    Users who are viewing this thread

    Top Bottom