Mediaportal.GUIFont throws exception on startup (1 Viewer)

erikture

MP Donator
  • Premium Supporter
  • March 26, 2008
    87
    5
    Home Country
    Sweden Sweden
    Hello!

    I have somehow messed up my installation today.
    I have to installations both running windows 7 x64 and the latest svn of 1.1.
    On one of the computers I get this stacktrace on startup of Mediaportal.
    Why?

    I did some deleting of a font but then I installed it again.
    I have also reinstalled my graphics driver as I thought it migth have somehing to do with that.
    No success.
    What can be wrong?

    /Erik

    2010-01-10 20:09:14.137416 [Warn.][MPMain]: GraphicContext: NO screen calibration file found for resolution 720x556!
    2010-01-10 20:09:14.150416 [Info.][MPMain]: GraphicContext: MP will render at 50 FPS, use animations = True
    2010-01-10 20:09:14.326426 [Info.][MPMain]: fonts.Dispose()
    2010-01-10 20:09:14.332427 [Info.][MPMain]: Load fonts from c:\Public\MediaPortal\Skin\Blue3wide\fonts.xml
    2010-01-10 20:09:14.502437 [Debug][MPMain]: fonts.InitializeDeviceObjects()
    2010-01-10 20:09:14.583441 [Debug][MPMain]: TextureLoader.CreateFile C:\ProgramData\Team MediaPortal\MediaPortal\Cache\Blue3wide\fonts\debug_12.dds
    2010-01-10 20:09:14.680447 [Info.][MPMain]: D3D: InitializeDeviceObjects - Exception: System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.GUI.Library.GUIFont.InitializeDeviceObjects()
    at MediaPortal.GUI.Library.GUIFontManager.InitializeDeviceObjects()
    at MediaPortalApp.InitializeDeviceObjects()
    at MediaPortal.D3DApp.InitializeEnvironment()
    2010-01-10 20:09:14.682447 [Info.][MPMain]: DirectInput: not enabled
    2010-01-10 20:09:14.720449 [Info.][MPMain]: X10 debug: Could not get interface
    2010-01-10 20:09:14.856457 [Info.][MPMain]: MAP: using custom mappings for Microsoft MCE
    2010-01-10 20:09:14.866457 [Info.][MPMain]: MCE: MCE remote enabled
    2010-01-10 20:09:14.891459 [Info.][MPMain]: Main: Running
    2010-01-10 20:09:14.971463 [Info.][MPMain]: Exception :confused:ystem.ObjectDisposedException: Cannot access a disposed object.
    Object name: 'MediaPortalApp'.
    at System.Windows.Forms.Control.CreateHandle()
    at System.Windows.Forms.Form.CreateHandle()
    at System.Windows.Forms.Control.get_Handle()
    at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(Form mainForm)
    at MediaPortalApp.Main(String[] args)
    2010-01-10 20:09:14.972463 [Info.][MPMain]: Exception :Cannot access a disposed object.
    Object name: 'MediaPortalApp'.
    2010-01-10 20:09:14.973463 [Info.][MPMain]: site :Void CreateHandle()
    2010-01-10 20:09:14.974464 [Info.][MPMain]: source :confused:ystem.Windows.Forms
    2010-01-10 20:09:14.974464 [Info.][MPMain]: stacktrace: at System.Windows.Forms.Control.CreateHandle()
    at System.Windows.Forms.Form.CreateHandle()
    at System.Windows.Forms.Control.get_Handle()
    at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(Form mainForm)
    at MediaPortalApp.Main(String[] args)
    2010-01-10 20:09:14.975464 [Info.][MPMain]: MediaPortal stopped due to an exception Cannot access a disposed object.
    Object name: 'MediaPortalApp'. System.Windows.Forms at System.Windows.Forms.Control.CreateHandle()
    at System.Windows.Forms.Form.CreateHandle()
    at System.Windows.Forms.Control.get_Handle()
    at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(Form mainForm)
    at MediaPortalApp.Main(String[] args)
    2010-01-10 20:09:14.999465 [Debug][MPMain]: Main: SaveLastActiveModule - enabled False
    2010-01-10 20:09:14.999465 [Info.][MPMain]: Main: Exiting
    2010-01-10 20:09:15.011466 [Info.][MPMain]: fonts.Dispose()
    2010-01-10 20:09:15.011466 [Debug][MPMain]: TextureManager: Dispose()
    2010-01-10 20:09:15.012466 [Info.][MPMain]: TexturePacker:Dispose()
    2010-01-10 20:09:15.012466 [Debug][MPMain]: Windowmanager: closing current window
    2010-01-10 20:09:15.013466 [Info.][MPMain]: TexturePacker: Removing packed skin
    2010-01-10 20:09:15.713506 [Debug][2]: FastImage: Cleaning up GDI+ before shutting down
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    AW: Mediaportal.GUIFont throws exception on startup

    Delete C:\ProgramData\Team MediaPortal\MediaPortal\Cache\* and try again
     

    erikture

    MP Donator
  • Premium Supporter
  • March 26, 2008
    87
    5
    Home Country
    Sweden Sweden
    I have deleted the cache several times and it is when it Mediaportal shall create those files again that the exception does occur.

    /Erik
     

    erikture

    MP Donator
  • Premium Supporter
  • March 26, 2008
    87
    5
    Home Country
    Sweden Sweden
    I have found out that the cause of the problem was that Mediaportal is running out of memory when traversion my huge thumbs directory at startup. I have posted a comment about it in the latest SVN thread.

    /Erik
     

    Users who are viewing this thread

    Top Bottom