Exception thrown when SetText in GUI Notification dialog (1 Viewer)

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,702
    7,087
    Sydney
    Australia Australia
    Country flag
    • Thread starter
    • Moderator
    • #1
    When MP-TVSeries attempts to set text in the Notification dialog e.g. GUIDialogNotify.SetText("blah"), the following exception is thrown:

    Code:
    [2019-12-25 10:07:37,072] [Log    ] [MPMain   ] [ERROR] - Exception: System.NullReferenceException: Object reference not set to an instance of an object.
       at MediaPortal.Dialogs.GUIDialogNotify.SetText(String text)
       at WindowPlugins.GUITVSeries.TVSeriesPlugin.ShowNotifyDialog(String heading, String text, String image) in C:\Development\mptvseries\MP-TVSeries\TVSeriesPlugin.cs:line 6716
       at WindowPlugins.GUITVSeries.TVSeriesPlugin.ShowNotifyDialog(String heading, String text) in C:\Development\mptvseries\MP-TVSeries\TVSeriesPlugin.cs:line 6687
       at WindowPlugins.GUITVSeries.GUI.GUIArtworkChooser.LoadFacade(List`1 aArtwork) in C:\Development\mptvseries\MP-TVSeries\GUI\GUIArtworkChooser.cs:line 970
       at WindowPlugins.GUITVSeries.GUI.GUIArtworkChooser.<DownloadArtworkThumbs>b__43_1(Boolean success, Object result) in C:\Development\mptvseries\MP-
    TVSeries\GUI\GUIArtworkChooser.cs:line 542
       at WindowPlugins.GUITVSeries.GUI.GUIConnector.ExecuteTaskResultHandler() in C:\Development\mptvseries\MP-TVSeries\GUI\GUIConnector.cs:line 189
       at WindowPlugins.GUITVSeries.GUI.GUIConnector.<ExecuteInBackgroundAndCallback>b__19_1(Int32 p1, Int32 p2, Object o) in C:\Development\mptvseries\MP-TVSeries\GUI\GUIConnector.cs:line 111
       at MediaPortal.GUI.Library.GUIWindowManager.CallbackMsg(GUIMessage msg)
       at MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)
       at MediaPortal.GUI.Library.GUIWindowManager.DispatchThreadMessages()
       at MediaPortalApp.FrameMove()  Message: Object reference not set to an instance of an object.  Site   : Void SetText(System.String)  Source : Dialogs  Stack Trace:     at MediaPortal.Dialogs.GUIDialogNotify.SetText(String text)
       at WindowPlugins.GUITVSeries.TVSeriesPlugin.ShowNotifyDialog(String heading, String text, String image) in C:\Development\mptvseries\MP-TVSeries\TVSeriesPlugin.cs:line 6716
       at WindowPlugins.GUITVSeries.TVSeriesPlugin.ShowNotifyDialog(String heading, String text) in C:\Development\mptvseries\MP-TVSeries\TVSeriesPlugin.cs:line 6687
       at WindowPlugins.GUITVSeries.GUI.GUIArtworkChooser.LoadFacade(List`1 aArtwork) in C:\Development\mptvseries\MP-TVSeries\GUI\GUIArtworkChooser.cs:line 970
       at WindowPlugins.GUITVSeries.GUI.GUIArtworkChooser.<DownloadArtworkThumbs>b__43_1(Boolean success, Object result) in C:\Development\mptvseries\MP-TVSeries\GUI\GUIArtworkChooser.cs:line 542
       at WindowPlugins.GUITVSeries.GUI.GUIConnector.ExecuteTaskResultHandler() in C:\Development\mptvseries\MP-TVSeries\GUI\GUIConnector.cs:line 189
       at WindowPlugins.GUITVSeries.GUI.GUIConnector.<ExecuteInBackgroundAndCallback>b__19_1(Int32 p1, Int32 p2, Object o) in C:\Development\mptvseries\MP-TVSeries\GUI\GUIConnector.cs:line 111
       at MediaPortal.GUI.Library.GUIWindowManager.CallbackMsg(GUIMessage msg)
       at MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)
       at MediaPortal.GUI.Library.GUIWindowManager.DispatchThreadMessages()
       at MediaPortalApp.FrameMove()
    This works okay in StreamedMP skin, so I presume something is missing in Titan.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    12,450
    7,144
    Kyiv
    Ukraine Ukraine
    Country flag
    You install titan fix for dialog window?

    --
    WBR, ajs :):whistle::coffee:
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    12,450
    7,144
    Kyiv
    Ukraine Ukraine
    Country flag
    There is no time to update my theme. For 1.23 I made a fix. In order to work with the theme, you need to delete the file for this dialog box in the theme.

    --
    WBR, ajs :):whistle::coffee:
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    Top Bottom