Unhandled exception in TV Server (1 Viewer)

CyberSimian

Test Group
  • Team MediaPortal
  • June 10, 2013
    2,111
    1,305
    Southampton
    United Kingdom United Kingdom
    Country flag
    I think that this is a different exception to the others that have been reported. This is what happened:
    • I woke the system from hibernation.
    • From the Windows 7 desktop, I pressed the START button on the remote control to start MP 1.25f.
    • On the MP splash screen, the "Starting TV Server" text appeared unexpectedly.
    • After a long wait, the MP "Home" panel appeared.
    • Attempting to display the "Recorded TV" panel resulted in the "No connection" panel appearing.
    • Rebooting the system restored normal behaviour.
    Looking at the TV Server log (attached), I noticed an interesting combination of circumstances:
    • The system normally wakes at 06:00 to perform a manually-scheduled 30-minute recording that grabs the EPG from the broadcast datastream.
    • The EPG grabbing part usually takes 7-8 minutes.
    • The database-updating part normally takes around 20 minutes.
    • So the total time taken is typically around 27 minutes (i.e. just less than the 30-minute recording).
    • The log shows that the database-updating part was still occurring when the recording finished, and the system hibernated.
    • From a previous log, there are usually 138 occurrences of the word "inserted" for a complete EPG, but in the problem log there are only 134. So TV Server was almost at the end of updating the database, but not quite. In fact, it looks as though it was in the middle of updating the EPG entries for the "Cbeebies" channel when the system hibernated.
    The problem occurred when the system woke, and TV Server issued an SQL command which possibly failed to respond within the specified timeout:

    Code:
    [2020-06-19 07:31:23,839] [Log    ] [26       ] [INFO ] - Tvservice stopped due to an unhandled app domain exception System.NullReferenceException: Object reference not set to an instance of an object.
       at MySql.Data.MySqlClient.MySqlCommand.TimeoutExpired(Object commandObject)
       at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
       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.TimerQueueTimer.CallCallback()
       at System.Threading.TimerQueueTimer.Fire()
       at System.Threading.TimerQueue.FireNextTimers()
       at System.Threading.TimerQueue.AppDomainTimerCallback(Int32 id)

    I have had this situation occur before, but the TV Server log was not in debug mode, so it was not possible to identify possible causes of the problem.

    -- from CyberSimian in the UK
     

    Attachments

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    R Unhandled Exception Allgemeines Support- und Diskussionsforum 3
    rexdog unhandled exception error, and, no sound on first TV channel selected - fine afterwards General 2
    T [further infos missing] Unhandled exception 2.2 Archive 5
    doskabouter Exceptions found due to improved logging General Support 11
    ltfearme Exception thrown when SetText in GUI Notification dialog Titan Skin Feedback 3
    P MP2 TV Server crashes when starting - throws error remoting exception General 2
    uxDesign Can't play Blu Ray: VideoPlayer9: Exception while creating DShow graph 1.20 2
    Terra [fixed] MP2 Importer Exception of type 'System.OutOfMemoryException' was thrown. 2.2 Archive 38
    W MP2 - V2.3 MP2 Server stürzt immer nach kurzer Zeit ab Allgemeines Support- und Diskussionsforum 10
    W MP2 - V2.3 MP Version 2.3 Server stürzt immer wieder ab General 0
    W TV Server didn't show Magic-Pro ProHDTV Diamond2 card TV-Server 2
    JimCatMP Problems with TV Server on dual homed host. General Support 0
    cbr954rr EPG Genre map categories do not match tv server categories General 4
    R Firewall on server blocking client General 10
    E [solved] TV-Server Configuration Missing TV-Server 9
    F MediaPortal 1.16 server crashing due to user error? General Support 5
    E TV-SERVER control TV-Server 3
    CanadianEh MP TV server rebuild with Colossus 2 - Kodi clients receive PMT error when playing videos recoreded by Colossus 2 TV-Server 2
    M 1.25.0 Tv Server Configuration Italian Dvb-t2 test channel preview error Television (MyTV frontend and TV-Server) 8
    M TV Server Preview Window is blank, sounds works Television (MyTV frontend and TV-Server) 3
    catalpa ...immer mal wird der Server abgekoppelt :( Allgemeines Support- und Diskussionsforum 0
    A Keine Verbindung mit Kodi auf Server Allgemeines Support- und Diskussionsforum 11
    Grisu002 Failed to startup - TV Server funktioniert nicht Allgemeines Support- und Diskussionsforum 0
    ajs [WiP] 5030: Add UHD Thumb size to TV Server MediaPortal 1 0
    toricred [solved] Configuring TV Server to use NAS General 5

    Similar threads

    Top Bottom