[fixed] Log fills up when minimized to tray (1 Viewer)

Swede

Portal Pro
September 6, 2006
490
47
West Coast Archipelago
Home Country
Sweden Sweden
Log fills up with:

[ERROR][MPMain(1)]: GraphicContext: Error setting Blankscreen to True - System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
vid MediaPortal.GUI.Library.GUIGraphicsContext.set_BlankScreen(Boolean value)

... but not always.

MediaPortal Version: Latest SVN
MediaPortal Skin: B3W
Windows Version: Vista Ultimate 32
CPU Type: AMD Athlon64 X2 5050E 2.6Ghz
HDD: WD 1TB + WD 320GB
Memory: 8 GB DDR2 PC6400 240-pin, 800Mhz
Motherboard: Asus M4A78 PRO, sAM3
Video Card: ATI integrated HD3200
Video Card Driver: Latest
Sound Card: Integrated VT1708B 7.1
Sound Card AC3:
Sound Card Driver:
1. TV Card: Terratec Cinergy 1400DVB-T
1. TV Card Type: DVB-T
1. TV Card Driver: 5.0.18.0
2. TV Card: Lifeview USB
2. TV Card Type: DVB-T
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: Microsoft
MPEG2 Audio Codec: Ffdshow
h.264 Video Codec: CoreAVC
Satelite/CableTV Provider:
HTPC Case: ATX
Cooling: ZeroTherm BTF95 Universal CPU-cooler Fanless, Scythe Himuro HDD Cooler
Power Supply: Etasis 0dB fanless
Remote: Logitech Harmony 895
TV: Samsung 46 LCD
TV - HTPC Connection: Component
 

chemelli

Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    Log fills up with:

    [ERROR][MPMain(1)]: GraphicContext: Error setting Blankscreen to True - System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
    vid MediaPortal.GUI.Library.GUIGraphicsContext.set_BlankScreen(Boolean value)

    ... but not always.

    Which is the more predictable way to reproduce this issue then ?

    Simone
     

    Swede

    Portal Pro
    September 6, 2006
    490
    47
    West Coast Archipelago
    Home Country
    Sweden Sweden
    Not really sure yet, but probably just leave it mimimized for a couple of hours. I will test if anything else needs to be done before or not.

    OK, it seems that it fills up every time, if the idle timer time has gone. When I said "not always" I didn't wait that long.

    So, you just have to wait whatever time you have set for idle timing.

    I guess there is no need for blanking the screen when minimized, so idle timer could check for that first.

    2010-04-25 16:44:33.990275 [Info.][MPMain(1)]: D3D: Minimizing to tray on GUI exit
    2010-04-25 16:49:34.121843 [Debug][MPMain(1)]: Main: Idle timer is blanking the screen after 300 seconds of inactivity
    2010-04-25 16:49:34.121843 [Info.][MPMain(1)]: GraphicContext: Error setting Blankscreen to True - System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
    vid MediaPortal.GUI.Library.GUIGraphicsContext.set_BlankScreen(Boolean value)
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    cannot reproduce with current svn.

    Configuration->Screensaver:

    idle timeout: 300
    idle action: blank screen

    minimized for 12 minutes and restored. Logs are clean.

    Simone
     

    Swede

    Portal Pro
    September 6, 2006
    490
    47
    West Coast Archipelago
    Home Country
    Sweden Sweden
    OK, just found out that I doesn't even have to minimize. It fills up anyway. I shall test to remove plugins. I'll be back!


    2010-04-25 18:58:50.525003 [Debug][MPMain(1)]: Main: Idle timer is blanking the screen after 10 seconds of inactivity
    2010-04-25 18:58:50.525003 [Info.][MPMain(1)]: GraphicContext: Error setting Blankscreen to True - System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
    vid MediaPortal.GUI.Library.GUIGraphicsContext.set_BlankScreen(Boolean value)
    2010-04-25 18:58:50.635161 [Debug][MPMain(1)]: Main: Idle timer is blanking the screen after 10 seconds of inactivity
    2010-04-25 18:58:50.635161 [Info.][MPMain(1)]: GraphicContext: Error setting Blankscreen to True - System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
    vid MediaPortal.GUI.Library.GUIGraphicsContext.set_BlankScreen(Boolean value)
    2010-04-25 18:58:50.755334 [Debug][MPMain(1)]: Main: Idle timer is blanking the screen after 10 seconds of inactivity
    2010-04-25 18:58:50.755334 [Info.][MPMain(1)]: GraphicContext: Error setting Blankscreen to True - System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
    vid MediaPortal.GUI.Library.GUIGraphicsContext.set_BlankScreen(Boolean value)
    2010-04-25 18:58:50.875507 [Debug][MPMain(1)]: Main: Idle timer is blanking the screen after 10 seconds of inactivity
    2010-04-25 18:58:50.875507 [Info.][MPMain(1)]: GraphicContext: Error setting Blankscreen to True - System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
    vid MediaPortal.GUI.Library.GUIGraphicsContext.set_BlankScreen(Boolean value)
    2010-04-25 18:58:50.985665 [Debug][MPMain(1)]: Main: Idle timer is blanking the screen after 10 seconds of inactivity
    2010-04-25 18:58:50.985665 [Info.][MPMain(1)]: GraphicContext: Error setting Blankscreen to True - System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
    vid MediaPortal.GUI.Library.GUIGraphicsContext.set_BlankScreen(Boolean value)
    2010-04-25 18:58:51.105838 [Debug][MPMain(1)]: Main: Idle timer is blanking the screen after 11 seconds of inactivity
    2010-04-25 18:58:51.105838 [Info.][MPMain(1)]: GraphicContext: Error setting Blankscreen to True - System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
    vid MediaPortal.GUI.Library.GUIGraphicsContext.set_BlankScreen(Boolean value)
    2010-04-25 18:58:51.215996 [Debug][MPMain(1)]: Main: Idle timer is........
     

    Swede

    Portal Pro
    September 6, 2006
    490
    47
    West Coast Archipelago
    Home Country
    Sweden Sweden
    simone,

    Tested without plugins: same :(

    Try set the timer for 10 sec so you don't have to wait so long. Then it's enough that MP is in the background, or for any other reason cannot blank the screen. It doesn't have to be minimized. After 10 sec of inactivity, the log starts to fill with 5kB/sec, so it's a bit annoying. It's the same on both vista and xp. I can set logging to error only, but error log fills up too, so it doesn't help much.

    I can't be alone with this, when I have it on both setups??? Anyone else?

    Another thing I found was that even if screensaver is unset in MP's settings (not configuration.exe), the screensaver is on until you restart.
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    I'm sorry but I cannot reproduce in any way, and I guess any other can't.

    Simone
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    will investigate more as soon as I have time.

    Simone
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    Please copy RC2 core in a safe place and replace it with _both_ those files. Then clean logs and reproduce the error.

    Simone
     

    Attachments

    • Core_RC2_debug.zip
      30.6 KB

    Users who are viewing this thread

    Top Bottom